Adding pdf document in vision

Hi,

I would like to add a user manual for the vision application that can be downloaded by clicking a button.

Is there a way to do this?

I usually store user resources as blobs in a database. For this use case, simply use the action performed event handler of a button to retrieve the file from the database, and use system.file.writeFile to save the file locally.

3 Likes

I did the same thing as suggested but when i try to open the pdf file from application , it says that the file is corrupted.

EDIT:
Instead of uploading directly from db, i tried uploading from application and it worked properly.

1 Like