2.3.2 Property Types

Every property has a type and a value. The contents of the Type field defines what kind of data the property can contain, for example a text or number. The Value field contains the data itself, that is, the actual text or number.

If you fill in the Value field on a template property line, it will be entered as the default value on all Web pages you create with the template.

Note

If you make changes to the Value field on a template property line, this change will not only appear on the following Web pages, that you create, but also on the previous Web pages, that have already been created.

However, you can edit the value on each individual Web page.

For example, an ASP page might specify that a line of text (a property type) will appear on the Web page, but the text itself (the property's value) is not defined. The Web template has a property line of the type Text. If the text will be completely different for each Web page you will create with the template, do not specify the value on the Web template. If many of the pages you will base on the template will have the same or similar text, you can specify the text on the template and then edit it on the Web pages as needed.

The following table describes the eight property types:

Type

Value

Text

The Value field can contain text that will appear on the Web page. It can contain up to 250 characters.

Date

The Value field can contain a date that will appear on the Web page.

Time

The Value field can contain a time that will appear on the Web page.

Number

The Value field can contain a number that will appear on the Web page.

Picture

The Value field can contain the number of a picture. The number represents a link to a picture in the Web Picture table (See Using Commerce Portal Pictures). The picture will appear on the Web page.

Link

The Value field can contain the number of another page on the Web site. The Web page with this property will include a link to the page referred to in the Value field.

Subproperties

The property has subproperties. That is, the property line represents an entire property collection.

You can use subproperties to organize the properties on a template into property collections. You can also use subproperties with auto numbering (See Properties with Auto Numbering for more information on this topic).

The contents of the Value field indicate whether or not the property's subproperties have been assigned a value. If the Value field contains Yes, the Value field on the subproperties has been filled in. If the Value field contains No, the Value field on the subproperties is blank.

 

Related Topics

Properties with Auto Numbering

Auto-Numbering Properties with Subproperties