Element.saveFieldMappings (Method)
Creates or updates an element's render handler's field mappings.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
elementID | ElementTypeID | Required | An element's ID. |
moduleID | RenderHandlerID | Required | ID of the render handler module. |
genericFieldMappings | GenericFieldMappingStruct_Array | Required | An array of structures containing the source and destination mapping field names. |
Context:
License Requirements | None |
Permission Requirements | Contributor |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
15013 | The element you specified does not support render handlers. |
15026 | The specified layout is not valid for the specified element. |
15036 | The specified layout does not support field mappings. |
Notes:
None