16
Views
4
Comments
To preview file using Box UI forge component

I have tried previewing a file using preview block from BOX UI element forge component. I have uploaded a file in box and took its access token and file id and passed in the required fields for the preview widget but after publishing I am unable to view the file. It's not loading the file in the viewer and also I will attach the error facing below for your reference.


I will also attach a sample oml file and request someone to help how to resolve this issue 


Thanks in advance.

BoxFilePreview.oml
2023-01-26 16-03-24
Ana Agostinho

Hello Ajay Saminathan, 

For the community to better assist you, could you please post or tag the component you're using and its version? Without that information, it might be difficult for others to provide the help you need. 

Additionally, on the component page, you'll find the team and users who created the component. In case you encounter a more specific issue, you can reach out to them directly if needed. 

Best regards, 

Ana

UserImage.jpg
Ajay Saminathan

Sure, I'll attach the link below

UserImage.jpg
Ajay Saminathan

Below provided is the link for the forge component

https://www.outsystems.com/forge/component-overview/13069/box-ui-elements-o11

2024-10-22 07-27-44
Nuno Azevedo

Hello Ajay,

I dont know exactly what is the purpose of this but i suppose you want to preview the file you uploaded, you can took a look at this forum post ViewPDF

In the attachments i will send to you a example with the preview of a pdf file.


BoxFilePreview.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.