Question

7
Replies
2282
Views
Close popover
Sowmalya Mandal (SowmalyaM)
Tech Mahindra
Technical Architect
Tech Mahindra
CA
SowmalyaM Member since 2014 5 posts
Tech Mahindra
Posted: December 1, 2016
Last activity: January 9, 2017
Closed

How can a show an pdf in work object attachment in the case screen.

I have a requirement of work object creation from inbound email with PDF attachment. So the case have the PDF attached. I nned to show the PDF in the work object screen.

I have tried the following options . But not able to succeed to now.

Option 1 

<div id="pdf" >
<object  id='pdfObject' data="file://web:/StaticContent/global/ServiceExport/15047.pdf" width='100px' height='100px'  type="application/pdf">
</object>
</div>

Option 2

<div id="pdf" >
<embed  id='pdfEmbed' type='application/pdf'  width='100%' height='100%'  src='"file://web:/StaticContent/global/ServiceExport/15047.pdf" mode="display" />    
</object>
</div>

Not sure what exactly is the src is translated to. So unable to check the actual path to keep the file.

regards

Sowmalya

Low-Code App Development
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.