Category Component 25.2
Category Component Help

# View an Uploaded Document

You can view a document that the 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 2025 Open Text
Version 25.2 | Last updated April 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 25.2

Topic Title: View an Uploaded Document