Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 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 .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: How to read the values stored in the variables of Sales logix plugin from .Net Extension
Sam
Posts: 16
 
How to read the values stored in the variables of Sales logix plugin from .Net ExtensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Oct 07 7:36 AM
Hi,
I would like to read the values stored in sales logix plugin from .Net Extension.
For example, in Sales logix plugin, i have some value in the variable as,
Dim Var
Var = 132
Now, i would like to read this value in .Net Extension and perform some business logic using this value.
I tried to acheive this but didn't succeed.

Please help me to solve this problem.

Thanks,
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: How to read the values stored in the variables of Sales logix plugin from .Net ExtensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Oct 07 8:42 AM
Ryan can correct me if I am wrong, but you cannot read a variable from SalesLogix. You do have access to the Globals hashtable through SlxApplication.GlobalInfo as long as you stored a reference in the initialize method of the .net extension. Any values that the .net extension operates on can also be passed within the run method.

Application.Managed.Run guid, args

which could be

Application.Managed.Run guid, Var

Mark
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to read the values stored in the variables of Sales logix plugin from .Net ExtensionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Oct 07 1:12 PM
Just as with any code, your variable must be in scope of the .NET Extension. This means that either you pass it to it with the Application.Managed.Run command, set it in GlobalInfo to read it out from the extension, or have the extension return a ComVisible class that you'd set the value from the variable as a property in the class.

Does that make sense?

I suppose we'd need to know more about the code and architecture of the extension to be able to help any more.
[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/7/2025 5:58:50 AM