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: Attaching Files
muni1900
Posts: 21
 
Attaching FilesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Dec 07 12:16 PM
Hi guys,

I need to upload a file and link it to the appropriate service. However, I do not want to use the attachment table.

Filenames will be defined as: serviceID + fileName
Destination: \\servername\SalesLogix\Service_Docs\

I am planning to store only the filename in the db. However, I am currently stuck with how to upload the attachment to the destination. Is there any built in function in slx that I can take advantage of? Otherwise, I was planning on using ( BTW, I got it from another post on this site ):

Dim filesys 

Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(fileToBeUploaded) Then
filesys.CopyFile fileToBeUploaded, "\\servername\SalesLogix\Service_Docs\"
End If


Also, if I use the code above will there be any sync problem?

Thanks in advance.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Attaching FilesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Dec 07 6:46 AM
Your approach will not sync.

In order to have attachments sync you must use the SalesLogix standard Attachments approach.
--
RJLedger
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Attaching FilesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Jan 08 5:43 PM
Can you explain why you do not want to use the attachment table when doing this? There may be a workaround that you have not thought about.

PP
[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 8:04:10 AM