Download Attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 10:01 AM
Hi,
I am trying to download a attachment from business rule. Because, I want to download attachment when it is created on "sys_attachment" table. Is it possible?
The only way I found to download attachment is by using action.setRedirectURL('sys_attachment.do?sys_id=' +SOME SYSID) in UI Action. Is there any other way to do this?
Note: I tried gs.setRedirect() in business rule. But no use.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 10:50 AM
How are you creating the attachments and adding to the record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 10:47 AM
Yes, it does that. You have to post the UI Action code. I'm assuming you posted the Business Rule's code.