a!documentviewerfield not rendering PDF type files when clicked.

Certified Associate Developer

Hi I am trying to display file preview for attached documents. We have provided a dynamic link when clicked ,we are calling a PM to fetch the document from Documentum and store it in Appian folder. However the PDF type file does not preview for some users, whereas Dev team with admin access have no issue viewing the preview for the file. FYI it is happening only for PDF type files PNG files seems to be working fine.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Zeeshan Sheikh

    We only know this aftter reading the file. Could be some issue with the user's context. Or something that Appian isn't able to show on the front end. 

    Also, here are some point you might want to confirm. 

    1. Dev team is trying to access the file on the same environment as the end users. 
    2. The document ID you are trying to pass to the viewer is a valid document ID
    3. The PDF is a valid PDF and you have access to it, plus you are able to open it if you download. 
Children
  • 0
    Certified Associate Developer
    in reply to Harshit Bumb (Appyzie)

    Thank you for the answer will look into the std-out.log file for more insight, please find my answer in red

    1. Dev team is trying to access the file on the same environment as the end users.- Yes tried it on client environment
    2. The document ID you are trying to pass to the viewer is a valid document ID - Yes
    3. The PDF is a valid PDF and you have access to it, plus you are able to open it if you download.- Once downloaded the PDF is opening as expected