123
Views
4
Comments
[File Viewer Plugin] How to preview docx file in native application
Question
file-viewer-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

I have an restapi to get the .docx file (if open link by browser, the file will be downloaded).

I use the File Viewer Plugin to preview the file by: calling the OpenDocument action and setting the rest api url in the input parameter "URL".

When running on mobile app (android), the result is that the file is downloaded to the device. However, what I want is the file to be opened (for preview) in the app , not downloaded.

I also refer to the documentation at link https://success.outsystems.com/documentation/11/extensibility_and_integration/mobile_plugins/file_viewer_plugin/

I need solutions for all iOS and Android.

Can anyone help me?

UserImage.jpg
phuvn

Hi @Caldeira81 ,

Thanks for your suggestion.

I tried and it seems ok.

I only worry about things: whether there are security or license issues when using it (https://docs.google.com/gview, https://view.officeapps.live.com)?

2019-02-27 17-48-20
Caldeira81

Hope that could Help you out. 

And find a solution/suggestion to your problem.

OS already há e on place some protetions to mobile apps but off course nothing is bullet proof 100%. 

I understand regards,



2019-02-27 17-48-20
Caldeira81

Did you ear about Ionic the new aqquisition of Outsystems.

https://ionic.link/3UAbueo. Check the security tips.

Would bem great if you Grant the solution of this post.


Thank you regards


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