Replicating the Manage Attachments Pop-up UI Action

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 02:48 PM
Hi SN Community,
I had a business requirement to be able to forward attachments on a record (custom built application) to another system. Due to this alternate system's set up, SN had to send the attachments in the form of an email to this system, lets call it System X.
The general design flow to achieve this requirement was:
I created a UI Action to place a button on the form called "X Forward". The UI action script performs some auto-set functions on the form and also triggers an event, which then triggers a notification to be sent. The notification has the include attachments box selected. The button works perfectly, but I have recently received an enhancement request asking to have the ability to select which attachments get forwarded vs everything on the record.
What I would like to do (if possible) is to mimic the functionality of the attachment UI action when the X Forward Button is clicked:
I am trying to leverage the UI page "Attachments" (did an insert and stay) and use of GlideDialogWindow within a function, running in the UI Action, but not quite getting it to work. I would appreciate any advice on whether I am on the right track or any alternate suggestions/solutions. Thanks in advance!
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 07:24 AM
Hi Volente,
Can you please let me know how did you customized this Attachment pop-up as we have requirement where we need to create custom Attachment popup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2020 04:20 AM