Returns a datatable containing all fields in the current contenttype.
Syntax
Smartsite SXML | Copy Code |
---|---|
datatable contenttype.fields() datatable contenttype.fields(string contentTypeCodeOrIdentifier) |
Parameters
Name | Data Type | Description |
---|---|---|
contentTypeCodeOrIdentifier | String | The ContentType code or globally unique identifier. |
Return Value
Data Type | Description |
---|---|
DataTable | DataTable. |
Data Table Columns
Name | Data Type |
---|---|
Area | Integer |
Code | String |
ContentLevel | Integer |
DefaultWorkflow | Integer |
DerivedFrom | T:Smartsite.Core.ContentType |
Description | String |
Icon | String |
Identifier | T:System.Guid |
IsBrowsable | Boolean |
IsPublication | Boolean |
IsRepository | Boolean |
ItemTreeFormat | String |
MainField | String |
Name | String |
Number | Integer |
TreeFormat | String |