Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 18, 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: Library Path
Patricia Capuz
Posts: 49
 
Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Nov 07 9:16 AM
Please,

Could anybody tell me, how can I get the SalesLogix library path via Scripting(Active Script)?

Thanks
[Reply][Quote]
Lloy Sanders
Posts: 69
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Nov 07 2:42 PM
Select SalesLibraryPath From BranchOptions
[Reply][Quote]
Patricia Capuz
Posts: 49
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Nov 07 2:49 PM
Hi Lloy

I Do that and It funtions over SalesLogix Network Client, but when I am working with SalesLogix remote Client connecting to a remote Database (created from main Database), I doesn't function in the same way, because the library path is local for remore Client, also the SalesLibraryPath value from BranchOptions is the same on remote database and Main database.


So, when I want to open a Library file on Remote Client that is not connected to network, I get the path \\ServerName\sync logs\library\myfilename and It´s show an error because that path doesn´t exists on Remote Client

I thought that It should have a SLX function to get the Library path over any type of SLX client.


If anybody can Help me, tell me!!!! Please

Thanks,

Patty
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Nov 07 5:24 PM
Interesting - I cannot find an easy way of doing this.

You may be able to derive the path from the result of

Application.BasicFunctions.GetAttachmentPath

which I believe returns a local path for remotes.

PP
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Nov 07 3:28 AM
The Application.BasicFunctions.GetApplicationPath would be a better option as the Library is a folder directly under here e.g. strLibrary = Application.BasicFunctions.GetApplicationPath & "\Library"
[Reply][Quote]
Patricia Capuz
Posts: 49
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Nov 07 9:31 AM
Thanks...

It would probably is a good Idea when the library is within ...Program Files\Library

But It doesn´t function because in my remote Pc the library path was installed over C:\Documents and Settings\All Users\Datos de Programa\SalesLogix\Library

What can I do ???

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Nov 07 9:47 AM
You're right - it used to be there but was moved. So, in this case - the installation is fixed to that location, so now you know where it is - based on %ALLUSERSPROFILE% - then navigate down that path.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Nov 07 4:42 PM
This still isn't clear to me.

On my 7.0.1 remote install, the library path is

C:\Documents and Settings\All Users\Application Data\SalesLogix\Library

but now you are saying that it has moved. So from V7.2 (?) a remote install will have the library folder under Application.BasicFunctions.GetApplicationPath?

If so, then Patricia needs to do a SLX version check before deciding which path to look at for the library documents. Or just use an FSO to check for the existence of the new folder first and, if it does not exist, to look for the old one.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Library PathYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Nov 07 4:50 PM
Sorry it's unclear. The folder moved a long time ago (to where it is now as indicated above). It used to reside under PF\SalesLogix - but moved to adhere to the windows standard (of mydocs etc). I was just being archaic !!

Essentially, I'd do it your way and use FSO until I found it !

[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/18/2025 7:44:26 AM