How to upload file from native page?

Hello all, I want to upload a file from the native application is there any widget for the same?  
2 answers

Hi Aishwarya,


There is! Take a look at this widget/module.

The documentation tab within this page shows you what's included. Take a closer look at the 'openDocumentPicker' JavaAction that is included in the module, it's going to be very useful for you.

Note that you won't be able to test your Native App with Make It Native, as the features of the module don't support it. You will need to create an apk instead.


Hope this helps and good luck!


Hello Aishwarya Gorane,

Yes, there is a solution available for uploading files from a native application in Mendix. You can use the Native File Documents module, which you can find on the Mendix Marketplace at this link: Native File Documents module. Additionally, there is a sample project available that demonstrates how to use this module effectively. You can find it here: Native File Documents sample project.

In the sample project, you'll find detailed documentation and examples that will help you integrate file uploading functionality into your native application seamlessly. If you have any further questions or need assistance with anything else, please don't hesitate to let me know.

Feel free to reach out if you need any further assistance.