Working with Application.GlobalInfo in the SalesLogix LAN client

So much of my time has been spent in the SalesLogix web platform that sometimesonce I switch back to working in the LAN version of SalesLogix I forget how to work with some of the core SalesLogix components.  One such incident happened when I needed to make use of a SalesLogix Global variable.  The Global Variables in SalesLogix allow you to pass information between forms or scripts by storing values in memory and then accessing them on demand.  The  older LAN version offered an API for setting the gloabl variables but in SaleLogix 6x they introduced a seperate namespace in the built in Application assembly to allow accessing the global information.  The syntax for working with this Global Variables is as follows:

Adding a new variable

Application.GlobalInfo.Add “MyVariableName”,”MyValue”

Retreiving a variable

myvariable =  Application.GlobalInfo.Item(“MyVariableName”)

Removing a variable from memory

Application.GlobalInfo.Delete(“MyVariableName”)

 

ABOUT THE AUTHOR

Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

1 Comment

  1. Hi, good article!!

    Can i use this article to translating to spanish and put in my blog??

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!