View Component 25.1
View Component Help

# ViewUpload

The file that you want to upload and view.

You can use this parameter to directly upload a file to the View component to view immediately, even if it does not have access to the original file. You must upload the file as `multipart/form-data`. To use this parameter, you must send the View action as a POST request.

When you send View actions with the `ViewUpload` parameter to a Distributed Action Handler set up to distribute View requests by reference, you can add the Reference parameter for consistent routing. For more information about distribution by reference, refer to the Distributed Action Handler Administration Guide.

Actions: | View
Type: | String
Default: |
Example: | `<form name="example" method="post" enctype="multipart/form-data" action="http://localhost:9080/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`.
See Also: | Reference

Copyright 2024 Open Text
Version 25.1 | Last updated January 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 View Component 25.1

Topic Title: ViewUpload