Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 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: Edit Attachments - How do you add another field to the Edit Attachments form?
Andrew Fink
Posts: 41
 
Edit Attachments - How do you add another field to the Edit Attachments form?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Nov 08 8:22 AM
I am trying to add a field to the "Edit Attachments" form that pops up when you Drag an attachment into SLX, or when you right click and edit the attachment. Is the Edit Attachments form editable via Architect? I can't find the plugin anywhere. If I am unable to edit the plugin via Architect what would be the best way to go about getting a value into my newly created field in the Attachments Table?
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Edit Attachments - How do you add another field to the Edit Attachments form?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Nov 08 10:10 AM
Insert a script into the SLX Attachments Support common script:

Sub OnEditFileAttachment
If grdAttach.GetCurrentField("ATTACHID") <> "" Then 'DNL
If DoesAttachmentExist(gStrAttachPath & grdAttach.GetCurrentField("FILENAME"), grdAttach.GetCurrentField("DESCRIPTION"), True) Then 'DNL
Application.BasicFunctions.EditFileAttachment(grdAttach.GetCurrentField("ATTACHID")) 'DNL
grdAttach.Refresh
End If
End If
End Sub

or go back a step to the grid/tab form itself......
if you want to keep this specific to Account or Contact, etc.

Sub cmdEditClick(Sender)
OnEditFileAttachment
End Sub


Am thinking you may have to populate this field with Drop Ons, Adds, etc.....

[Reply][Quote]
Andrew Fink
Posts: 41
 
Re: Edit Attachments - How do you add another field to the Edit Attachments form?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Nov 08 8:17 AM
I tried to insert a some code into the SLX Attachments Support common script but I found it to be quite difficult to get the desired result. I ended up creating a new Tab and called it Attachments V2 with a standard data grid that showed all of the existing attachments and the only EditOption being Edit which pulls up a Data Form to input the data into the new field. Thanks for your reply RJ.
[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/27/2025 8:53:39 AM