Question
Anthem Blue Cross and Blue Shield
US
Last activity: 10 May 2018 4:06 EDT
Opening work object attachments in native application
We have below requirement in my project ,Can anyone help me how to achieve it
In the application users attach pdf/word document as work object attachments
when users open pdf/word document attachments, pdf/word documents should be opened in a separate tab instead of getting downloaded.
Note: Assumption that user will be using Windows PC and IE or Chrome browser. Users will be attaching Microsoft Word and PDF format.
Hi Nagaraju,
Thanks for writing to PSC.
In attachment section of case, When you click on attachment that trigger a call to doAttachmentSingleClick function that does download. It doesn't have option to open the attachment in new tab.
You can write your own logic to open attachment in new tab. You can overwrite values for href and onclick of attachments in "pyAttachmentFeedDescription" Control after saving that into your ruleset.
Hope this answers your query.
Thanks:
Gurpreet