Using HTML Bind Values to Document Layout Template Structure

This topic discusses using HTML bind values to document layout template structure and describes how to:

  • Add HTML bind values.

  • Delete HTML bind values.

  • Insert bind values into HTML.

Note that using HTML bind values is optional.

Adding HTML Bind Values

To add HTML bind values:

  1. Access the Template Designer – Viewer page. (Select PeopleTools > Mobile Application Platform > Template Designer and click the Viewer tab.)

  2. Locate and expand the Template Bind Values section.

  3. In the HTML Bind Values field enter a bind value.

  4. To add additional bind values:

    1. Click the Add Bind button to add another row to the grid.

    2. In the HTML Bind Values field enter a bind value.

  5. Save the page.

When you save the page the system assigns a number to each bind value defined.

Deleting HTML Bind Values

To delete a bind value, insert the cursor into the HTML Bind Value field that you want to delete and click the Delete Bind button.

Inserting Bind Values into HTML

To insert bind values into HTML on the Template Designer – Viewer page, use the following format:

%bind(:<bind number>)

The <bind number> is the system-generated bind number assigned to a bind value on the Template Designer – Viewer page.

Insert the bind values between tags in your HTML code, as shown in this example:

<html>
<head> 
<title> %bind(:1) </title> 
</head> 
<body> 
<h2> %bind(:2) </h2>