I’m trying to embed a PDF in an action but get this error.
I’m using a cloud orchestrator with an enterprise licence and action centre licence.
I can also see the PDF successfully embedded in the action. The PDF is in a storage bucket on the same tenant as the action centre.
lrtetala
(Lakshman Reddy)
August 24, 2023, 9:25am
2
Hi @Finlay_Knight
Welcome to Community!!
Please check on this thread
Hi everybody
I am testing Action Center functionality, more specifically displaying pdf files in tasks but I see the following message instead of PDF (Orchestrator is not enabled for this tenant …):
[image]
Then a loading circle icon is shown but no PDF is displayed
[image]
Steps followed are:
Upload PDF using Upload Storage File
Add argument to Form: pdf_storage
HTML Content control in form with embed code to display pdf:
[image]
Has anyone experienced same issue?
I hope it helps!!
Unfortunately, that thread does not have a solution to this problem.
Hi @Finlay_Knight ,
Could you also check on the permissions assigned to your account or the account that is trying to access the Action Center.
I believe permissions on Storage Buckets would also be needed for the account.
Check the below for more on the permissions required :
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Yes I have full Permissions.
climber
(Nathan Moreton)
November 9, 2023, 4:56pm
7
Hey, I know it has been a bit but I had this issue and none of the forums had the solution I needed so I figured I would post it. When passing your file name argument into the task activity, you need to add the suffix ‘_storage’ to the argument name. Like this:
Also, don’t hardcode your PDF name in the Form Designer. Pass it in as an argument as shown above. So in this case I have a variable named FileName that has the value “Test.pdf” and I am passing that variable into the argument pdfName_storage. Then in Form Designer my HTML Field key is html and my content is:
climber
(Nathan Moreton)
November 9, 2023, 4:57pm
8
Sorry, html content didn’t paste properly. The HTML content is this:
<embed src={{data.pdfName_storage}} width="1000px" height="600px"/>