Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, February 21, 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: Open external windows form created in Visual Studio and pass AccountID
SLX_Novice
Posts: 246
 
Open external windows form created in Visual Studio and pass AccountIDYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Mar 14 1:40 PM

Hi all.


SLX LAN v7.2.1 here.


Don't know if this is at all possible, but I have a windows form I created in vb.net via Visual Studio 2008 that contains some of our in house data we store on our SQL Server. One of the fields in this external windows form is the SalesLogix AccountID field. I thought it would be really cool if our end users could right click a datagrid we have and it would open the windows form (myForm) and automatically populate the AccountID field that's on that form with the AccountID in the datagrid.


Again, don't know if this is at all possible but I thought I'd ask.


Thank you in advance!

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Open external windows form created in Visual Studio and pass AccountIDYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Mar 14 2:15 PM

Yes. You can - if you go into SLX and goto account you'll notice on the Edit | Copy Link to Clipboard function. This puts the following into the clipboard:



SLX:account/{accountid}


So, you just need your grid to call this as a standard windows open - as the protocol handler is installed when SLX is installed. If SLX is closed, SLX will open and then move to that account. If already open, it will move to that record.


You can also do this for contact (e.g. SLX:contact/{contactID}, opportunity etc.


 


 

[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Open external windows form created in Visual Studio and pass AccountIDYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Mar 14 2:50 PM

THanks Mike. But what I meant is: I'm in SalesLogix, I right-click the datagrid in SalesLogix and then that opens my Windows Form (myForm.exe) and populates one of the form's textboxes. Instead of external form to SalesLogix, I would like to do it the other way around: From SalesLogix to external windows form.

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Open external windows form created in Visual Studio and pass AccountIDYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Mar 14 3:18 PM

Ah right. Well, you can definitely obtain the accountid from SLX - how to pass that to your app is going to be down to your app and, perhaps, either via a command line option that it receives or - if it's a .NET component - you can pass an array/ID in via the calling of the .NET app.


Check Application.Managed.Run for details on how to do this.


 


 

[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): 2/21/2025 7:25:03 AM