Download a pdf file on the mobile

0
Hi, I am using linkButton to open a pdf file in the browser. For example "https://shXXXXXXXXXXXXXXXXXXXXXXXXXXX00Asm.pdf".  Problem is on the mobile the link is opening the pdf file on the app browser itself and the contents of this page are not visible. I am passing the name of the variable in an attribute which completes the web url path to the pdf file. Please help what component to use and also how to open this pdf using another app on the mobile. Thanks.
asked
3 answers
3

Hi Romil,

You can use the "storeURLToFileDocument" from the CommunityCommons module and then use the Mendix download file action.

https://appstore.home.mendix.com/link/app/170/

Regards

answered
1

Solved it. 

Called a rest service GET with that image URL and downloaded the response as a file.

answered
0

answered