Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 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: SLAPI and COM VB/VB.Net Examples
Y2K
Posts: 4
 
SLAPI and COM VB/VB.Net Examples Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Sep 06 11:05 AM
fiogf49gjkf0d
I've seen Ryan's example for using the SLAPI, and have seen the COM example from SLX website.

I'd like to know what's the best (combination of fastest, safest, most efficient) way to query the SLX DB for specific records, from an external application? Basically, I'd like to query the SLX DB based on specific data. I may search for all accounts with "ferdinand" in the last name, or I may search for all accounts with "707345" in the phone number. What's the best way to do this? I've heard horror stories about doing SLX development, and certainly don't want to break anything.

I appreciate any assistance.. and of course, examples would be awesome.

Thanks.
Y2K
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLAPI and COM VB/VB.Net Examples Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Sep 06 1:01 PM
fiogf49gjkf0d
1) Don't use SLAPI anymore (unless you're on a pre-6.x system)
2) Use COM to interact with the running client
3) For all data access (reads/writes/etc) use the SalesLogix OLE DB Provider

For a COM example look here: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=80

For examples of OLEDB using the SLX Provider look here:

Connection String:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=55

Creating Table ID values:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=87

Some ADO.NET examples:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=35


Basically, you're just going to use ADO.NET/ADO to access SLX via it's own Provider by using a SLX connection string. This will allow you to read anything you need and write back anything using this connection.

Make sense?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLAPI and COM VB/VB.Net Examples Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Oct 06 8:52 AM
fiogf49gjkf0d
AGREE!
Recently we've been workingg with some 3rd party (other "tech" partners - who shall reman nameless) on "qualifying" their apps w/v7.0. It's amazing (underwelming is probably a better description) to find out that some of them STILL rely on SLAPI! I've tried to educate them... but they just don't seem to want to change. No a good service to teh (user or BP) community.
--
rjl
[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): 11/26/2024 6:41:51 PM