Creating Attribute Tags for Custom Records and Custom Fields

You can display information from custom records and custom fields on your website by using attribute tags in item/category templates and in the HTML you write for your site themes in Site Builder.

Creating Attribute Tags for Custom Fields

Display information from custom fields on item and customer records by using the custom field ID as the attribute.

For example, to include information from an item custom field with ID custitem1, you can use the following attribute tag:

           <%=getCurrentAttribute('item','custitem1')%> 

        

You can find the ID for a field in the following places:

Creating RecordAttribute Tags for Custom Records

Display information from custom fields on custom records using the custom record type ID, the ID for the custom record, and the custom field on the record as the attribute.

To display information from a custom record, use the following syntax for the tag:

          <%=getRecordAttribute('recordTypeID',id,'attribute')%> 

        

Related Topics

Using Attribute Tags in Site Templates
Using Web Site Tags in Hosted Files
Creating Attribute Tags for Standard Records
Creating Attribute Tags

General Notices