2.4 Importing Template Properties

Once the ASP pages for your site have been set up, you can import the editable properties on them into Web templates.

To import the properties, follow this procedure:

  1. Check that the ASP pages are saved in the directory that you specified on the Web site card. See Web Site Setup for more information on this topic.

  2. Open the Web Templates window:

  3. In the Site field, select the code of the site for which you want to set up templates. Only the templates for that site will be listed in the window.

  4. Click Functions, Create Web Template. The batch job request window appears:

  1. In the Template No. field, enter a unique number to identify the Web template. You can use 20 characters, both numbers and letters.

  2. In the Description field, enter a brief description of the template. The description will appear in the Web Templates window.

  3. In the ASP Filename field, enter the name of the Active Server Page (ASP) file for the template. This is the file from which the program will import properties when you click OK.

  4. Click OK. The new template now appears in the Web Templates window.

  5. To see the properties that have been imported to the template, click Template, Properties. The Properties (Template) window appears:

 

The fields on the property lines have been filled in as follows:

Field

Comments

Auto Number

This field contains a check mark if auto numbering has been enabled for the property.

Code

This field contains a code that identifies the property.

Description

The content of this field is automatically copied from the Code field. You may want to enter a brief description of the property.

Type

This field contains the type of the property (See Property Types).

Value

This field remains blank when you import the property.

  1. All of the fields except the Value field were automatically filled in when the program imported properties from an ASP page. For each property line, you can enter the property's default value. What you can enter in the Value field depends on the property's type. See Property Types for more information on this topic. You can edit the value on the individual Web pages.

  2. The content of the Description field was automatically copied from the Code field. You will probably want to enter a more descriptive text.

You have now set up one Web template. Click Esc to return to the Web Templates page and repeat steps 4 to 11 for each of your ASP pages.

Once you have a complete set of Web templates, the next step in setting up your Web site is to use the templates to create Web pages. Chapter 3 tells you how.

Multiple Web Sites explains why you might want to have more than one Web site, and how to set them up.

Related Topics

Web Site Setup

Web Templates

Template Properties

Multiple Web Sites