Creating a management application using a custom HTML page is perhaps the easiest way to generate an interface allowing you to manipulate infopad values. The basic procedure involves creating a regular form-based HTML page with the necessary user interface components required to display and update information. Once this is in place, you can use custom HTML tags to display, get, and update the actual infopad values.
When a user requests this page, Business Process Portal preprocesses the HTML file substituting JavaScript and conventional HTML in place of the custom tags, generating a page that can display and update infopad values suitable for display on any supported web browser.
To create the custom HTML page, complete the following steps:
1. Create the HTML file with the user interface components required to display and update the infopad values.
Use standard HTML constructs including input fields, drop-down lists, and multiline inputs (text area).
2. Use custom HTML tags to display, get, store, and update infopad values.
The following table describes the custom tags you can use:
Table 16. Custom HTML tags
Tag
Description
<InfopadValue NewTable x y slot>
Causes a variable to be substituted for the infopad value allowing the user to view and modify the value.
<InfopadGetValue NewTable x y slot>
Causes the value of the dataslot to be substituted. No update of the value is possible.
<InfopadStoreValue NewTable x y slot>
Specifies the dataslot to update. Useful in HTML constructs such as SELECT.
<InfopadUpdate button_label>
Specifies the button label along with the action to perform once the button is pressed.
3. Save the HTML file.
4. Update Business Process Portal user’s application file to include information about the new application.
The following is an example of a customized HTML page illustrating the use of the special tags: