CustomElement.import (Method)
Imports a custom element and sets its category.
Returns:
ImportStatus_Struct (struct)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
Errors | PlainText | If an error occurred, this member contains an error message describing the error. If no error occurred, this is an empty string. |
Status | PlainText | The import's status. |
Warnings | PlainText | If non-fatal warnings occurred, CommonSpot places a pipe-delimited list describing these warnings. If no errors occurred, this is an empty string. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
objectGUID | UUID | Required | A custom element's globally unique ID. |
elementCategoryID | ID | Required | The category under which the imported custom element is classified. |
Context:
License Requirements | CustomElement |
Permission Requirements | site:ManageElements |
Deny Context | None |
Require Context | AuthoringEnabled |
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