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: Does Application.BasicFunctions.InsertFileAttachmentEx work or not?
M Scott Schaffernoth
Posts: 2
 
Does Application.BasicFunctions.InsertFileAttachmentEx work or not?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 May 06 10:27 AM

sertraline side effects

sertraline and alcohol blackouts charamin.jp
fiogf49gjkf0d
I need to do an import and the BP NGs seem to indicate that this is not working...?
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Does Application.BasicFunctions.InsertFileAttachmentEx work or not?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 06 11:36 AM
fiogf49gjkf0d
Which version of SalesLogix? InsertFileAttachment brings up the insert attachment dialog. If you're importing 100 attachments, seeing that 100 times isn't going to be fun even if you can set all of the variables.

You can roll your own attachment routine rather easily and it involves these steps:
1) Get new AttachmentID
2) Copy SourceFileName to Documents\!AttachmentIDSourceFileName
3) Create attachment record
4) Call LogSendFileAttachment (only necessary if you have remotes)

#2: Get the Documents\ folder from the branch options table for network clients. Remotes default to Documents and Settings\All Users\Application Data\SalesLogix\Documents\.
#3: Create a record in the client and copy the output exactly.
#4: LogSendFileAttachment AccountID, !AttachmendIDSourceFileName (FileName column of the attachment record).

If you're importing multiple attachments this is the preferred method to prevent popping up the dialog multiple times. This also can ensure that users don't bork the process.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Does Application.BasicFunctions.InsertFileAttachmentEx work or not?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 May 06 12:42 PM
fiogf49gjkf0d
Jeremy is right. It does work, just for a different purpose than what you're thinking. You'll want to do the steps that Jeremy outlined in his post to import attachments.
[Reply][Quote]
Swapnil
Posts: 46
 
Re: Does Application.BasicFunctions.InsertFileAttachmentEx work or not?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Jan 08 5:09 AM
Hi Ryan,
How to insert file attachement in SLX v6.1?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Does Application.BasicFunctions.InsertFileAttachmentEx work or not?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Jan 08 9:44 AM
Quote:
Originally posted by Swapnil

Hi Ryan,
How to insert file attachement in SLX v6.1?


See the steps that Jeremy outlined above:

Quote:
You can roll your own attachment routine rather easily and it involves these steps:
1) Get new AttachmentID
2) Copy SourceFileName to Documents\!AttachmentIDSourceFileName
3) Create attachment record
4) Call LogSendFileAttachment (only necessary if you have remotes)


-Ryan
[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 1:55:50 PM