SiteTools.convertField (Method)
Starts a job that converts to custom field type from source type to target type. Also handles any data conversions / fixes.
Returns:
JobID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
sourceFieldType | CustomElementFieldType | Required | Source field type. |
targetFieldType | CustomElementFieldType | Required | Target field type. |
fieldIDList | FieldIDList | Required | List of IDs of the fields to convert. When empty all fields in CommonSpot of the source type are changed to target type. |
Context:
License Requirements | None |
Permission Requirements | site:SiteMaintenance |
Deny Context | None |
Require Context | None |
Author Lock |
Error Codes:
None
Notes:
None