Hi All,
I need to save and open the PDF file in other mobile application to share the PDF via other apps.
I am generating a PDF file and I want to save that file in the internal memory and I am using Open Document action to open the application in external applications.
But I am getting a error in Save File action. Anyone help me to achieve this.
Thanks!
Hi @RifazHussain M,
You can use File Downloader for Mobile component to download the file to your local mobile space.
Try demo : https://aadhavan.outsystemscloud.com/PreviewInDevices/?IsMobilePreview=True&DeviceName=Smartphone&URL=/SampleAppforFileDownloader/Screen1
Thanks, Aadhavan S
Hi Aadhavan,
Thanks for your reply.
I am using mobile application environment, there is no download action available.
can File Downloader for Mobile component be able to download the PDF file?
I think it is for downloading excel file.
The above-mentioned component is designed for downloading files from the mobile application.
Yes, we can download pdf files as well with the same component. Excel download is just example
Hi @RifazHussain M!
Can you share the error you get while trying to 'SaveFile'?
Cheers,
JS.
Hi @José Santos ,
Thanks for your reply!
Please find the error code and error description in the attached screenshot below.
Hi Rifaz,
Try to use the folder name like this: Hopes this will resolve the issue.
Hi ,
I tried this one now, but still the same error persists.
Hi,
Then please check binary data is not null.
Or you can share oml file.
Regards
Please find the attached OML file at the top.
Sorry for delayed response.
I have been through your OML.
Please change the below logic.
On Save File do this:
On Open Document use FilePath not URL, because you are trying to open a local pdf file which is saved in Document folder.
Cheers.
Sorry for the delayed response,
I tried this too but it isn't working.
HiIs your issue solved? If yes please tell me how?? I am facing the same issue