Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 23, 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: Passing a Global variable from Support Client to Sales Client
Bill
Posts: 71
 
Passing a Global variable from Support Client to Sales ClientYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Mar 08 8:48 AM
Is there a way to pass a Global variable from 5.2 Support client to 6.2.6 Sales Client? I have the global set in the Support client but don't get any value in the Sales client. I have tried Application.BasicFunctions.GlobalInfoFor and I tried GlobalInfoFor on the form in the Sales client but not having any luck getting the Global value. Any ideas?
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: Passing a Global variable from Support Client to Sales ClientYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Mar 08 1:04 PM
They're two different applications altogether, the best you can really do is work around it - add the value to the clipboard/a temporary file/a registry entry/etc. in the support client then retrieve that value from that location from the sales client.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Passing a Global variable from Support Client to Sales ClientYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Mar 08 12:08 AM
Quote:
Originally posted by Bill

Is there a way to pass a Global variable from 5.2 Support client to 6.2.6 Sales Client? ...


A - You are mixing versions here and you cannot do that.. total disaster..and absoluitely not supported in any way under any condition.

B - IF there were both 6.2.6 than like was already posted.. two totally different apps.. save the info in the database.
--
RJLedger - rjlSystems
[Reply][Quote]
Bill
Posts: 71
 
Re: Passing a Global variable from Support Client to Sales ClientYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Mar 08 8:33 AM
This can be done. I am able to pass the global between the versions with no problems. The code I used to get it working is:

On the Support Client side: CurrentAccountId = getpropertyof ("txtAccountid","text")
GlobalInfoSet "gCurrentAccountId", CurrentAccountId
This sets the AccountId as the global variable that I am passing.

In the 6.2.6 Sales Client this is the code I use to get the global variable:
Dim gCurrentAccountId
gCurrentAccountId = Application.BasicFunctions.GlobalInfoFor("gCurrentAccountId")
strAccountId = application.BasicFunctions.GlobalInfoFor("gParentAccountId")

This isn't showing all the variables declared, but it is the core code that will allow the variable to be passed from one application to the other.
[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/23/2025 3:41:18 AM