Checks whether the specified ContentType exists in the site.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean contenttype.exists(string contentTypeCodeOrIdentifier) |
Parameters
Name | Data Type | Description |
---|---|---|
contentTypeCodeOrIdentifier | String | The ContentType code or globally unique identifier. |
Return Value
Data Type | Description |
---|---|
Boolean | Boolean |