Returns true if the given contenttype contains the given field.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean contenttype.field.exists(integer contentTypeNumber, string fieldName) boolean contenttype.field.exists(string contentTypeCodeOrIdentifier, string fieldName) |
Parameters
Name | Data Type | Description |
---|---|---|
contentTypeNumber | Integer | The contenttype number. |
fieldName | String | Name of the field. |
contentTypeCodeOrIdentifier | String | The ContentType code or globally unique identifier. |
Return Value
Data Type | Description |
---|---|
Boolean | Boolean |