Element.getInfo (Method)

Returns a structure containing information about type and layout properties for the element.

Returns:

Element_GetInfo_Struct (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
ElementType ElementType The element's type, which can be 'Global', 'Local', 'Standard' or 'Saved'.
ElementURLPrefix PlainText A string representing the prefix to the element URL.
hasFontColorProperties Boolean A boolean flag which when set to true indicates that this element type has Font & Color properties.
hasLayoutProperties Boolean A boolean flag which when set to true indicates that this element type has Layout properties.
hasStyleProperties Boolean A boolean flag which when set to true indicates that this element type has Style properties.
Name PlainText_NonNull The element's name.
supportsCustomLayouts Boolean A boolean flag which when set to true indicates that this element type supports one or more custom layouts (i.e. render handlers, display templates and/or saved layouts).

Arguments:

Name Type Required Description
elementTypeID ElementTypeID Required An element's ID.

Context:

License Requirements None
Permission Requirements None
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None