Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: Openning a MS Excel in saleslogix
NagaratnaPandi
Posts: 111
 
Openning a MS Excel in saleslogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Aug 09 2:35 AM
Hi All,

I need to open a excel sheet by clicking a icon in saleslogix lan client and i need to check the user name ,password ie i need to access the username ,password of the saleslogix in excel sheet or can i pass the username ,password of the saleslogix user to excel as parameter.

Please help me to slove this issue.

Thanks,
Ajoy
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Openning a MS Excel in saleslogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Aug 09 12:33 AM
Nagaratna,

I've never done anything beyond exporting to Excel, but I imagine the api allows you to do more than just open a spreadsheet and pop values in there.

As for the username and password, I know that they are stored in the UserSecurity table under UserCode and UserPW, but UserPW is encrypted and I don't think there is anyway to unencrypt it. It's meant to stay hidden, even from an admin.
[Reply][Quote]
Dan Carvin
Posts: 227
 
Re: Openning a MS Excel in saleslogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Aug 09 2:49 PM
It is unclear what you want to do.

Are you trying to open a password protected excel file in SalesLogix? If so, search msdn.com and I'm guessing you'll find a way to pass a ID & password in VB script when opening an excel file.

Are you assuming that the excel file & SLX user have the same password? Even if it is, it is encrypted in SLX and I know of no way for SLX & Excel to authenticate together. The only solution that comes to mind is to restrict Windows Read permissions on the Excel file. That way, only the users with access to the file will be able to open it.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Openning a MS Excel in saleslogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Aug 09 2:19 PM
Are you trying to run a Query within Excel that logs into SLX as each user?
In general, you shouldn't pass around any Password like this, as anything is a security risk, but there are few ways around it:

If you are trying to query slx from excel with a user within context, then you could try the following approaches:

- SQL: Connect to SLX DB via SQL and just add the Security Joins into your query, applying the UserID (or UserCode) as a parameter to the query
- SLX OLEDB Provider: Connect to SLX as Admin and add the Security Joins into your query, applying the UserID (or UserCode) as a parameter to the query
- SLX OLEDB Provider: Connect to SLX with an Admin connection, but using Impersonation and pass the Usercode into the connection string. (This one may be more difficult to achieve).
[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/29/2025 2:00:06 PM