Returns either the physical or the logical field name used in a contenttype.

Syntax

Smartsite SXML CopyCode image Copy Code
string contenttype.field(string name, enum type)
string contenttype.field(string name, string contentTypeCodeOrIdentifier)
string contenttype.field(string name, string contentTypeCodeOrIdentifier, enum type)
string contenttype.field(string name)

Parameters

Name Data Type Description
name String The name.
type Enum The field type of the given field.
Enum values:
  • Logical
    A logically named field.
  • Physical
    A physical field as present in the Contents table.
contentTypeCodeOrIdentifier String The ContentType code or globally unique identifier.

Return Value

Data Type Description
String The physical or logical fieldname.

Expand image Examples

SXML