Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: setting slx global variables in C#
Corey Harbaugh
Posts: 31
 
setting slx global variables in C#Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 07 1:48 PM
How do I set slx globals in C#?

I get an error saying slx.globalinfo("var") is a property and being used as a method
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: setting slx global variables in C#Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 07 2:27 PM
Like this:

SalesLogix.SlxApplication slx = null;
try
{
slx = new SalesLogix.SlxApplicationClass();
slx.GlobalInfo.Add("MyGlobalVar", "This is the contents of my global var");
}
finally
{
Marshall.ReleaseComObject(slx);
}


Make sense?
[Reply][Quote]
Corey Harbaugh
Posts: 31
 
Re: setting slx global variables in C#Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Aug 07 11:59 AM
Thanks
[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): 6/20/2025 5:47:03 AM