Document Viewer Control (Apps) - Unable to render document

Has anyone face this error while using Document Viewer Control in apps?
image

Im using document file picker to upload document in storage bucket. As soon as the document is uploaded I get the file from there and assing in an app variable.

Then in document viewer control I use this variable in the source

image

The document is correctly uploaded in storage bucket and should appear in document viewer control but is not working properly. I followed this documentation

Hello,

What’s your file type?

Its a pdf document

@Camila_Caldas ,

can you call the get storage file with proper extension /pdf? and see if you are file is loading properly.

.pdf

Its working for me.

Thanks,
Arvind

Thanks for the tip, now its working!

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