<%@Language=Javascript%> <% /* Took this out, cuz do we really need it? Since all the cookies are grabbed? var rLang = "en" var rTemplate = 0 var rContact = 0 var rProduct = 0 var rSolutionType = 0 var rDeliveryType = 0 var rSP = 0 var rModule = 0 var rBug = "" var rDescription = "" var rKB = "" var rSolutionID = 0 */ var STATE_NEWSOLUTION = 0 var UNDEF = "undefined" var DebugBuild var rState = new String( Request.QueryString("State") ) var rMode = new String( Request.Cookies("rMode") ) var Alias = GetShortUserAlias() //Alias = new String(Alias ) //if ( Alias.toString() != "sandywe" || Alias.toString() != "solson" ) if ( (Alias != "solson") && (Alias != "sandywe") && (Alias != "andreva" ) && ( Alias != "jeffreyb" ) ) { Response.Write("You do not have access to this site, please contact SOlson@microsoft.com if this is in error. " + Alias) Response.End() } //First check to see if we get the solutionID on the QueryString, if so, that means someone //wants to lookup this solution via the drop down list. So get it. var rSolutionID = Request.QueryString( "Val" ) //val is sent to this page by this page. . . strange isn't it. //If the solutionID is not a number, then it doesn't exist on the querystring, so check the cookie if ( isNaN( rSolutionID ) || rSolutionID == null ) { rSolutionID = Request.Cookies( "rSolutionID" ) //if it doesn't exist in the cookie, then they must be on a new solution. if ( isNaN( rSolutionID ) || rSolutionID == "" ) rSolutionID= STATE_NEWSOLUTION; } try { if ( rSolutionID != STATE_NEWSOLUTION ) { var g_DBConn = GetDBConnection( Application("SOLUTIONS3") ) { //Get the data, and set the variables var rsSolution = g_DBConn.Execute( "SEP_GetSolutionBySolutionID " + rSolutionID ) var rTemplate = new String( rsSolution("TemplateID" ) ) var rLang="en" var rContact = new String( rsSolution("ContactID" ) ) var rProduct = new String( rsSolution("ProductID" ) ) var rSolutionType = new String( rsSolution("SolutionType" ) ) var rDeliveryType = new String( rsSolution("DeliveryType" ) ) var rSP = new String( rsSolution("SP" ) ) var rModule = new String( rsSolution("ModuleID" ) ) var rKB = new String( rsSolution("Description") ) } } else { var rTemplate = new String( Request.Cookies("rTemplate") ) var rLang ="en" var rContact = new String( Request.Cookies("rContact") ) var rProduct = new String( Request.Cookies("rProduct") ) var rSolutionType = new String( Request.Cookies("rSolutionType") ) var rDeliveryType = new String( Request.Cookies("rDeliveryType") ) var rSP = new String( Request.Cookies("rSP") ) var rModule = new String( Request.Cookies("rModule") ) var rKB = new String( Request.Cookies("rKB") ) } } catch( err ) { Response.Write("SolutionID:" + rSolutionID + "
") Response.Write("err: " + err.description ) } //This is kinda a fallback, in case these things didn't get set . . . //Sometimes the values are null in the DB, so set them so nothing breaks in the RDS control if ( rSolutionType == "" ) { rSolutionType = 0; rDeliveryType = 0; } //Response.Write("rSolutionID " + rSolutionID) %>

Solution Entry Pages

Get Solution

onchange="fnSaveOptions()" >Automatically open solution on change

onchange="fnSaveOptions()" >Automatically edit solution


   Template
<% if( rKB != "" ) Response.Write("

Yes

") else Response.Write("

None

" ) %>
<% if ( rSolutionID != "undefined" && rSolutionID != "0" && !isNaN( rSolutionID ) ) { %> <% } else { %> <% } %>