Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, May 17, 2024 
 
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 Saleslogix account from vb.net windows form
SLX_Novice
Posts: 246
 
Open Saleslogix account from vb.net windows formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 14 6:50 PM
Hi all.

I created a windows form in visual studio 2010 using vb.net. The datagridview control on the windows form has a column for the SalesLogix AccountID. Is there a way to open the SalesLogix account from my visual studio windows form by double clicking the SalesLogixID column and opening SalesLogix to that account.

We have SalesLogix LAN v7.2.1.

Thank you in advance.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Open Saleslogix account from vb.net windows formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Feb 14 2:55 AM

Yes, take a look at the copy Link to clipboard in SLX. It writes a link as slx:/{entitytype}/ID or similar e.g. slx:/contact/Cxxx123. You can then include this as a URL. SLX will automatically open (if not open already) and then move to that record. SLX alrady has a protocol handler for SLX:/ built in during the install.


However, I'm not sure about v7.2.1 - you'll need to test that. I'm certainly came in in v7.x

[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Open Saleslogix account from vb.net windows formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Feb 14 9:25 AM

Thanks Mike! It worked here's my vb.net code in Visual Studio if anyone ever needs to do the same:


 


 


<p>  Private Sub DataGridView1_CellContentDoubleClick(sender As System.Object, e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentDoubleClick

 

         Dim GridRow As DataGridViewRow = DataGridView1.CurrentRow

        Dim SLXString As String

        SLXString = "slx:ACCOUNT/" & CStr(GridRow.Cells.Item("SLXID").Value)

        Process.Start(SLXString)


 

[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 © 2024 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): 5/17/2024 5:43:25 PM