Folder Metadata Schema
- Topics:
- Metadata
CREATED FOR:
- User
- Admin
Adobe Experience Manager Assets lets you create metadata schemas for asset folders, which define the layout and metadata displayed in folder properties pages.
Add a folder metadata schema form
Use the Folder Metadata Schema Forms editor to create and edit metadata schemas for folders.
- Select the Experience Manager logo, and go to Tools > Assets > Folder Metadata Schemas.
- In the Folder Metadata Schema Forms page, select Create.
- Specify a name for the form, and select Create. The new schema form is listed in the Schema Forms page.
Edit folder metadata schema forms
You can edit a newly added or existing metadata schema form, which includes the following:
- Tabs
- Form items within tabs.
You can map/configure these form items to a field within a metadata node in the CRX repository. You can add new tabs or form items to the metadata schema form.
-
In the Schema Forms page, select the form you created, and then select the Edit icon from the toolbar.
-
In the Folder Metadata Schema Editor page, select the + icon to add a tab to the form. To rename the tab, select the default name and specify the new name under Settings.
To add more tabs, select the + icon. Select X to delete a tab.
-
In the active tab, add one or more components from the Build Form tab.
If you create multiple tabs, select a particular tab to add components.
-
To configure a component, select it and modify its properties in the Settings tab.
If necessary, delete a component from the Settings tab.
-
Select Save from the toolbar to save the changes.
Components to build forms
The Build Form tab lists form items that you use in your folder metadata schema form. The Settings tab displays the attributes for each item that you select in the Build Form tab. Here is a list the form items available in the Build Form tab:
Editing form items
To edit the properties of form items, select the component and edit all or a subset of the following properties in the Settings tab. It is recommended to map only one field to a given property in the metadata schema. Otherwise, the latest added field mapped to the property is picked by the system.
Field Label: The name of the metadata property that is displayed on the properties page for the folder.
Map to Property: This property specifies the relative path of the folder node in the CRX repository where it is saved. It starts with “./”, which indicates that the path is under the folder’s node.
The following are examples of valid values for a property:
-
./jcr:content/metadata/dc:title
: Stores the value at the folder’s metadata node as the propertydc:title
. -
./jcr:created
: Stores the creation date and time of an asset. It is a protected property. If you configure these properties, Adobe recommends that you mark them as Disable Edit.
To ensure that the component is displayed properly in the metadata schema form, do not include a space in the property path.
JSON Path: Use it to specify the path of the JSON file where you specify key-value pairs for options.
Placeholder: Use this property to specify relevant placeholder text regarding the metadata property.
Choices: Use this property to specify choices in a list.
Description: Use this property to add a short description for the metadata component.
Class: Object class the property is associated with.
Delete folder metadata schema forms
You can delete folder metadata schema forms from the Folder Metadata Schema Forms page. To delete a form, select it and select the Delete icon from the toolbar.
Assign a folder metadata schema
You can assign a folder metadata schema to a folder either from the Folder Metadata Schema Forms page or when creating a folder.
If you configure a metadata schema for a folder, the path to the schema form is stored in the folderMetadataSchema
property of the folder node under ./jcr:content.
Assign to a schema from the Folder Metadata Schema page
-
Select the Experience Manager logo, and go to Tools > Assets> Folder Metadata Schemas.
-
From the Folder Metadata Schema Forms page, select the schema form you want to apply to a folder.
-
From the toolbar, select Apply to Folders.
-
Select the folder on which to apply the schema and then select Apply. If a metadata schema is already applied on the folder, a warning message informs that you are about to overwrite the existing metadata schema. Select Overwrite.
-
Open the metadata properties for the folder to which you applied the metadata schema.
To view the folder metadata fields, select the Folder Metadata tab.
Assign a schema when creating a folder
You can assign a folder metadata schema when creating a folder. If at least one folder metadata schema exists in the system, an extra list is displayed in the Create Folder dialog. You can select the desired schema. By default, no schema is selected.
-
From the Experience Manager Assets user interface, select Create from the toolbar.
-
Specify a title and name for the folder.
-
From the Folder Metadata Schema list, select the desired schema. Then, select Create.
-
Open the metadata properties for the folder to which you applied the metadata schema.
-
To view the folder metadata fields, select the Folder Metadata tab.
Use the folder metadata schema
Open the properties for a folder configured with a folder metadata schema. A Folder Metadata tab is displayed in the folder properties page. To view the folder metadata schema form, select this tab.
Enter metadata values in the various fields and select Save to store the values. The values you specify are stored in the folder node in the CRX repository.
See also