Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, August 17, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Problem building TicketDetails (something to do with 'getControlServerCode')
David Lumm
Posts: 87
 
Problem building TicketDetails (something to do with 'getControlServerCode')Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 09 9:17 AM
Hi all

Having a problem building a recent change. I've just started building after a few changes to the TicketDetails form (and to the Ticket Details page, although I've reset those changes) and I've got this error: (btw, how do you format this in a pretty "code" box?)

INFO - Building Quick Form: 'TicketDetails'.
ERROR -
NVelocity.Exception.MethodInvocationException: Invocation of method 'getControlServerCode' in Sage.Platform.QuickForms.WebFormGen.WebUserControlGenerator threw exception System.NullReferenceException : Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sage.Platform.QuickForms.WebFormGen.WebUserControlGenerator.GetControlPropertyName(String controlID, String qfPropertyName)
at Sage.Platform.QuickForms.WebFormGen.WebActionGenerator.GetControlPropertyName(String controlID, String qfPropertyName)
--- End of inner exception stack trace ---
at NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context)
at NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context)
at NVelocity.Runtime.Parser.Node.ASTReference.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Runtime.Directive.Foreach.Render(IInternalContextAdapter context, TextWriter writer, INode node)
at NVelocity.Runtime.Parser.Node.ASTDirective.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Runtime.Parser.Node.ASTIfStatement.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer)
at NVelocity.Template.Merge(IContext context, TextWriter writer)
at Sage.Platform.TemplateSupport.Template.ApplyTemplate(TextWriter writer, Hashtable contexts)
at Sage.Platform.QuickForms.WebFormGen.WebUserControlGenerator.Generate(Object metaObject, TextWriter writer, Boolean asPrintView)
at Sage.Platform.QuickForms.WebFormGen.WebQuickFormDeploymentPackage.GenerateInternal2(IQuickFormDefinition definition, Boolean isPrintView)
at Sage.Platform.QuickForms.WebFormGen.WebQuickFormDeploymentPackage.GenerateInternal(OperationStatus op, BuildType buildType)
at Sage.Platform.Extensibility.DeploymentPackageBase.Generate(OperationStatus op, BuildType buildType)
at Sage.Platform.Extensibility.Services.RegisteredPlatform.Generate(IProject project, OperationStatus op, BuildType buildType)
at Sage.Platform.AdminModule.AdminModuleInit.Deploy(RegisteredPlatform platform, OperationStatus op, BuildType buildType)
at Sage.Platform.AdminModule.AdminModuleInit.BuildWebObjectsImpl(OperationStatus op)


I'm going to have to go back to a backup (boy am I glad I do that regularly) but information about this may be useful for the future.

Ta
[Reply][Quote]
Mark Hallberg
Posts: 59
 
Re: Problem building TicketDetails (something to do with 'getControlServerCode')Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Feb 09 12:27 PM
Helllo~
Has anybody else seen this issue? I have the same issue after adding a pick list control to the insert opportunity form.
[Reply][Quote]
Mark Hallberg
Posts: 59
 
Re: Problem building TicketDetails (something to do with 'getControlServerCode')Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Feb 09 2:58 PM
I also did a restore and that corrected the issue, but not sure what happened where the code could lose a reference.
[Reply][Quote]
Jeremy Rosenberg
Posts: 1
 
Re: Problem building TicketDetails (something to do with 'getControlServerCode')Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Feb 09 5:00 PM
I just ran into this problem today.
On the Insert Opportunity form, I had deleted the Type, Reseller, and Lead Source fields. If you do this, there are "User Interface interaction" items you have to modify in the Load Actions for the form s well as in the OnChange action of the Account lookup control.

Remove entries in these actions that refer to controls you remove. If these references are left, the quickform builder can't find them when it is building the page, and it gives you this lovely, descriptive error message.

Hope this helps.
[Reply][Quote]
Mark Hallberg
Posts: 59
 
Re: Problem building TicketDetails (something to do with 'getControlServerCode')Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Mar 09 4:41 PM
Thanks much
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/17/2025 10:14:44 PM