Creating a Dynamic Web Page

To create the dynamic web page for your hello.aef script, do the following:

Procedure


Step 1

Use a text editor or web-page editor to create a template document, entering the following HTML source code:


<html>
<body>
Hello %name%
</body>
</html>
Step 2

Use the following format to identify the variables you will use when you write the hello.aef script:

%keyword%

In this example, keyword represents a keyword to be replaced with some textual representation as specified by the Keyword Transform Document step.

Step 3

Use the Keyword Transform Document step in the Cisco Unified CCX Editor to identify the location of the text substitution template.

When you run the hello.aef script, the Keyword Transform Document step replaces each keyword with the data you specify for that keyword.

Step 4

After you complete the template file, save the template file as sayhello.html.

Step 5

Create a folder called “template” in Document Management and upload the template file in this folder. To access Document Management, choose Applications > Document Management > Default > webapps > ROOT on the Unified CCX Web Administration.

You are now ready to write the hello.aef script.