Open topic with navigation

# View

Accesses the content of a document in a repository, formats it as HTML, then returns the HTML for display.

## Example

    http://12.3.4.56:4000/action=View&NoACI=True&Reference=http://news.bbc.co.uk/summary.pdf

This action uses port `4000` to request the document `summary.pdf` from IDOL Server, which is situated on a machine with the IP address `12.3.4.56`. IDOL Server resolves the reference to a URL, downloads the content, reformats it as HTML, and returns the HTML page.

## Parameters

Parameter | Description | Required
--- | --- | ---
Boolean | Whether to use phrases and query text for highlighting. |
ConversionTimeoutSeconds | The maximum number of seconds for a HTML conversion. |
Cookie | A cookie to forward. |
DeleteOriginal | Whether to delete the original document after converting it. |
EmbedImages | Whether to embed images in HTML output. |
EndTag | The tag to use to mark the end of a highlighted term. | See Comments
HighlightTagTerm | Adds an attribute to the StartTag to indicate the term that is highlighted. |
IgnoreCache | Whether to convert the document again, even if it exists in the cache. |
LanguageType | The language type of the Links parameter. |
Links | Terms to highlight. |
MultiHighlight | Highlight multiple link terms with different HTML tags. | See Comments
NoACI | Whether to format the results for display in a Web browser. |
OEMEncryption | Whether to OEM encrypt results. |
OriginalBaseURL | Whether to rewrite hyperlinks in the output document as IDOL actions. |
OutputType | How to process the document content during conversion. |
Page | The page of the document to display. |
Reference | The reference of the document to convert. | See Comments
StartTag | The tag to use to mark the beginning of a document. | See Comments
StripScript | Removes script tags and their contents from documents. |
UrlPrefix | The prefix to apply to links to subdocuments. |
UseReferencePrefix | Whether to use the configured ReferencePrefix. |
ViewTemplate | The template to use when converting the document content to HTML. |
ViewUpload | The multipart/form-data upload of the file that you want to view. | See Comments

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
EncryptResponse | Encrypt the output.
FileName | The file to write output to.
Output | Writes output to a file.
ResponseFormat | The format of the action output.

## Comments

You must set one of Reference and ViewUpload to specify the file that you want to view. If you use ViewUpload, you must send the `View` action as a POST request. If you send the `View`action to a Distributed Action Handler (DAH) set up to distribute `View` requests by reference, DAH uses the Reference parameter for distribution, even if you upload a file with ViewUpload.

If you set MultiHighlight to `True`, you must set the StartTag and EndTag for each link term.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm