Show TOC

Function documentationHTML Loader Locate this document in the navigation structure

 

This action is used to load HTML content, which can be loaded from a URL or from a file reference. The string content that represents the HTML is assigned to a property for further use. Some requests for HTML require authentication. Optional properties are provided to pass user name and password credentials to a request.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

SourceURL

String

In and out

Controls the URL that is used to load the HTML content. It can be a Web URL such as http://www.server.com/MyPage.htm or a file-based URL such as C:\Reports\MyReport.htm. We recommend that you use Web-based requests due to application portability and easier administration. Use forward slashes (/) in Web URLs. A backslash (\) represents an escape character.

Timeout

Integer

In and out

Controls the amount of time (in seconds) the action waits for a response from the load request.

LoginName

String

In and out

This is an optional property. It provides credentials for authenticated HTTP requests.

LoginPassword

String

In and out

This is an optional property. It provides credentials for authenticated HTTP requests.

StringContent

String

Out

Contains the content of the loaded HTML page. If the load attempt fails, it contains an empty string.

Success

Boolean

Out

Indicates if the HTML load request succeeded or failed. If it failed, errors appear in the server trace log.