This section explains how to edit content in Content Hub.
By default, clicking on the asset's name or thumbnail redirects users to the asset's Detail page. However, clicking on the asset's preview operation displays the inline preview:
The inline preview displays a preview with predefined properties and operations; Download, Add to saved selection, Remove from saved selection, Archive:
When clicking the Edit button located in the top-right corner of the inline preview, it is possible to edit the available fields.
After editing the fields, users can save their changes by clicking the Save button or the Save And Next button. The Save And Next button saves the current changes and edits the next asset in the list.
The inline preview fields can be configured in the search component, and they can even be automatically configured using a details component. For more information about this, please see Automated inline preview fields.
When multiple assets are selected in Sitecore Content Hub, they are gathered in a selection basket. A selection dropdown menu then allows users to perform a mass action onto the selected assets (e.g. perform a mass-edit or create a download order).
The selection basket is specific to a page, a collection or a block. For example, users can select entities on the Create page and have a different selection on the Content page. All selection baskets expire after 24 hours unless the user changes them manually.
The mass edit functionality allows users to edit the common properties of multiple selected assets.
For each of the common properties, users can select one of the following actions:
None: No changes for the property.
Replace: Replace the current value with the new value.
Clear: Clear the actual value of the property.
Append: Add additional taxonomy items to the list of related items.
Remove: Remove the existing property.
Users can achieve this by clicking on the Edit button in the selection dropdown menu. This redirects them to the mass-edit page where they can edit the common properties of the selected assets in three convenient ways as mentioned below:
After submitting the changes, the created job can be monitored in the My Jobs page:
For more information about mass edit jobs, please refer to the following section.
The users can manually edit the details in the metadata fields through the first tab on the Asset mass edit page. After filling in the details, the user can click on the Apply button to apply the changes.
It is also possible to perform mass edits based on an existing asset using the From asset tab. The user can choose which of the metadata properties of the selected assets they want to replace. When an asset is selected as a source to make changes, the set of properties from that asset is copied to the selected assets.
Superusers can update the
MassEditSearchConfiguration under Settings to set the search configuration for the relation editor in the From asset tab.
While using pre-configured sources for edits, the user needs to ensure that the metadata fields on the sources should conform to those on the selected assets.
It is also possible to perform mass edits based on a template using the From template tab. The user can choose which of the metadata properties of the selected assets they want to replace. When a pre-configured template is selected as a source to make changes, the set of properties from that template is copied to the selected assets.
Superuser can also update the
MassEditAssetTemplateSearchConfiguration under Settings to set the search configuration for the relation editor in the From template tab.
For more information about managing templates in Sitecore Content Hub, please see this section.
While using pre-configured sources for edits, the user needs to ensure that the metadata fields on the sources should conform to those on the selected assets. The superuser can also make changes to the
CopyEntityConfiguration under Settings to automatically skip certain metadata members. Although set to be skipped, these members would still be updated if their details are manually updated while editing.
If the source or the mass edit page contains a 1-1 (oneToOne) relation, the mass edit job will fail for all the assets except the first one as the 1-1 relation can't be applied on more than one asset.
Skip properties (mass-edit template)
The user can skip properties defined in the mass-edit templates by updating the
CopyEntityConfiguration setting. The user first needs to go to Settings under Manage:
Search for the
CopyEntityConfiguration setting in the left slider then click on it.
Make the required changes in the JSON editor and click on the Save button to apply the changes.
The mass refresh renditions functionality allows the user to refresh the renditions of the selected assets at the time. Users can mass refresh the renditions of the selected assets by clicking on the Refresh renditions button in the selection dropdown menu, which redirects them to the Refresh renditions page.
For the selected items, users can choose one or many of the following options:
Failed only: Refresh only failed renditions.
File history: Refresh the renditions of the file history.
Subfiles: Refresh the renditions of subfiles.
Create public links
Assets can be shared via a link that is publicly available with an expiration date (optional). The URL can be retrieved from the Public links dialogue screen. Users can create multiple public links for the selected assets by clicking on the Create public links button in the selection dropdown menu.
An expiration date can be set for the Public links and a rendition selected as the Public link: