Default form-submit action for asset types: creates or updates the underlying content item from posted form fields. Registered under the XML action alias "edit" and invoked by the asset resource when a form is posted to an asset of this type. If the asset does not yet exist it is created from the container's configured asset type and saved; otherwise the existing content item is updated in place. Requires write-content privilege on the asset.
Group: Content
Implements: AssetAction
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Short label for this action, always "Edit asset". |
| requiredPriviledge | Priviledge | Privilege a caller needs to invoke this action: write access to the asset's content. |
Methods
getDescription()
Returns: String
Short label for this action, always "Edit asset".
getRequiredPriviledge()
Returns: Priviledge
Privilege a caller needs to invoke this action: write access to the asset's content.
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.