Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 18, 2024 
 
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: web 8.2 myGlobal.cs
David Nunnally
Posts: 206
 
web 8.2 myGlobal.csYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Aug 15 4:42 PM

I want to create a number of functions to be reused in a number of places in the web client. I created a myGlobal.cs and placed it in SupportFiles\App_Code folder but now I am stuck as to how to access myGlobal.somefunction() in my quick form load action.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: web 8.2 myGlobal.csYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Aug 15 4:44 PM

You just need to use the fully-qualified name, using the entire namespace of your global code and also have to use a C# Snippet action for the load action (not a Code Snippet action). Also, it won't show in the intellisense, but it will still work.

[Reply][Quote]
David Nunnally
Posts: 206
 
Re: web 8.2 myGlobal.csYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 15 4:15 PM

The lack of intellisense was throwing me off. I thought I was missing a reference or something. I tossed on a textbox control and set the text property to the return value of one of my global functions and it worked!


Man the learning curve on this web platform is steaper than I had planned! Frown


 


Thanks Ryan!

[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 © 2024 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): 5/18/2024 8:30:23 PM