Returns the value of a CTFP.
Syntax
Smartsite SXML | Copy Code |
---|---|
any contenttype.getfieldproperty(string contentTypeCodeOrIdentifier, string fieldName, string propertyName) any contenttype.getfieldproperty(string contentTypeCodeOrIdentifier, string fieldName, string propertyName, integer nrUserRole) any contenttype.getfieldproperty(string contentTypeCodeOrIdentifier, string fieldName, string propertyName, string userRoleCode) |
Parameters
Name | Data Type | Description |
---|---|---|
contentTypeCodeOrIdentifier | String | The ContentType code or globally unique identifier. |
fieldName | String | Name of the field. |
propertyName | String | Name of the property. |
nrUserRole | Integer | The user role number or -1 for "all roles". |
userRoleCode | String | The code of the user role or * for all user roles |
Return Value
Data Type | Description |
---|---|
Any | Object. |