There is a built-in function within m-Power to allow end-users the ability to upload files when adding records in a maintenance application. However, there is a common question that comes in over the help desk regarding how to then view the files that have been uploaded. This doc will explain the process for viewing the uploaded files in any application.
First, in order to allow end-users the ability to upload files to a maintainer, follow this doc:
Uploading Files Via Maintenance Applications
Once you have completed the steps and uploaded a file, you should see a screen similar to this:
If you would like users to be able to then view the linked file by clicking on the file name, follow these steps:
1. Open m-Painter and find the column for the file name, FILE in the above example.
2. Left click on the field name and click “Insert/Edit Link” in the toolbar.
3. Set Target Application Type to Other and type in the path to the folder where the files are uploaded. The document above explains where to find that information as well as how to customize it.
4.At the end of the URL, type “${row.FILE?url}”, where FILE is the name of your field.
5. Ensure your popup window looks similar to the one below and then click OK.
6. Save and exit m-Painter.
Now, at run-time, users will still be able to upload files, however they will also be able to click on the file names to preview them.