Skip to main content
varunb579494
Known Participant
Aug 19, 2024 3:54 PM UTC
Question

Random string showing in Document Viewer

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Screenshot-2024_2D00_08_2D00_19-at-9.18.39_2F20_PM.png

In document viewer field, a random string is showing in the viewer header rather than the name of the document?

How can I fix this issue?

4 replies

stefanhelzle0001
Brainy
Aug 19, 2024 4:34 PM UTC

I do not know of a way to "fix" this. AFAIK Appian generates a random string to present the PDF to the browser built in PDF viewer.

mikes0011
Brainy
Aug 19, 2024 4:34 PM UTC

As far as I know that's the standard way this component works.

The Expression Guru
Inspiring
Aug 19, 2024 5:38 PM UTC

In the viewer header you will see the PDF title, not the document name. If by any chance you generate this PDF directly from Appian using 'HTML to PDF' plugin, try adding the title tag

 PDF title 

On the other hand, if you receive it from any external service, try contacting with their respective team

varunb579494
Known Participant
Aug 20, 2024 5:12 AM UTC

It was received from external system and we updated the pdf title, that worked. Thanks