Question

7
Replies
2258
Views
SowmalyaM Member since 2014 5 posts
Tech Mahindra
Posted: 3 years ago
Last activity: 3 years 8 months ago
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
Share this page LinkedIn