IDOL View Component 12.13

# View an Uploaded Document

You can view a document that the IDOL View component cannot access directly on a Web site or file system, by uploading the file in the `View` action. To upload a document, you must send the `View` action as a POST request, and upload the document as `multipart/form-data` in the `ViewUpload` parameter.

For example:

    <form name="example" method="post" enctype="multipart/form-data" action="http://localhost:14000/a=view&output=html&noaci=true" target="view_output">
    View This File:(input type="file" name="viewupload" />
          <br><br>
          Highlight: <input type="text" name="links" />
          <br><br>
          <input type="submit" value="Submit" />
    </form>

This example shows a POST request for the `View` action, including the usage of `ViewUpload`.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 12.13

Topic Title: View an Uploaded Document