Unable to display pdf in action center

I’m using storage bucket to store the pdf files also I’m able to store the files but when passing the same in create form task to display the pdf in action center, unable to display the pdf.

This is the html code which I’m using inside HTML element block.

<embed src={{data.pdf_storage}} width="1000px" height="600px"> </embed>

I also tried this one:

<iframe src={{data.pdfPath}} width=350 height=500></iframe>

And this what I’m getting as an error in orc action center

I have checked these two article but no luck.

Hi Noor,

Please make sure the form argument must includes ‘pdf_storage’ as one of the argument and value should absolute path of the file. If you are using storage file , then you have to use download storage file activity and provide absolute path to form task.

@NoorRobot

The argument names are case sensitive so please make sure the argument are given with same case as given in the form collection

cheers

Thanks guys I was able to fix this issue. I used this in html content

<embed src={{data.pdf_storage}} width="1000px" height="600px"> </embed>

and checked refresh on change

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.