Use the metadata schema form use-the-metadata-schema-form
A metadata schema describes the layout of the Properties page and the metadata properties displayed for assets that use the particular schema. The schema that you apply to an asset determines the metadata fields that appear on its Properties page.
The Properties page for each asset includes default metadata properties depending upon the MIME type of the asset. Administrators can use the Metadata Schema Editor to modify existing schemas or add custom metadata schemas. Experience Manager Assets Brand Portal provides default forms for assets of various MIME types. However, you can also add custom forms for such assets.
Add a metadata schema form add-a-metadata-schema-form
To create a new metadata schema form, do the following:
-
From the toolbar at the top, click the Experience Manager logo to access administrative tools.
-
From the administrative tools panel, click Metadata Schemas.
-
On the Metadata Schema Forms page, click Create.
-
In the Create Schema Form dialog box, specify the title of the Schema form, and then click Create to complete the form creation process.
Edit a metadata schema form edit-a-metadata-schema-form
Any added or existing metadata schema form can be edited. The metadata schema form contains content derived from its parent, including tabs and form items within tabs. You can map or configure these form items to a field within a metadata node.
You can add new tabs or form items to the metadata schema form. The derived tabs and form items (from the parent) are in the locked state. You cannot alter them at the child level.
To edit a metadata schema form, do the following:
-
From the toolbar at the top, click the Experience Manager logo to access administrative tools.
-
From the administrative tools panel, click Metadata Schemas.
-
From the Metadata Schema Forms page, select a schema form to edit its properties, for example, collection.
note note NOTE Unedited templates display a lock symbol before them. If you customize any of the templates, the Lock symbol before the template disappears. -
From the toolbar at the top, click Edit.
The Metadata Schema Editor page opens with the Basic tab open on the left. On the right, the Build Form tab is opened.
-
In the Metadata Schema Editor page, customize the Properties page of the asset. Just drag one or more components from a list of component types in the Build Form tab. Drag them to the Basic tab.
-
To configure a component, select it and modify its properties in the Settings tab.
Components in the Build Form tab components-in-the-build-form-tab
The Build Form tab lists items that you can use in your schema form. The Settings tab provides the attributes of each item that you select in the Build Form tab. The following table lists the form items available in the Build Form tab:
/etc/tags/mac/<tenant_id>/<custom_tag_namespace>
, if they publish the metadata schema form from Experience Manager Assets, where the path does not include tenant information, for example, /etc/tags/<custom_tag_namespace>
.Edit the metadata component edit-the-metadata-component
To edit the properties of a metadata component on the form, click the component and edit its properties in the Settings tab.
-
Field Label: The name of the metadata property that is displayed on the asset鈥檚 Properties page.
-
Map to Property: The value of this property provides the relative path/name to the asset node where it is saved in the CRX repository. It starts with 鈥./鈥 because indicating that the path is under the asset鈥檚 node.
The following are the valid values for this property:
鈥 ./jcr:content/metadata/dc:title
: Stores the value at the asset鈥檚 metadata node as the property dc:title
.
鈥 ./jcr:created
: Displays the jcr property at the asset鈥檚 node. If you configured these properties on view properties, 蜜豆视频 recommends that you marked them as Disable Edit, because they are protected. Otherwise, the error 鈥淎ssets failed to modify鈥 occurs when you save the asset鈥檚 properties.
- Placeholder: Use this property to provide the user any relevant information regarding the metadata property.
- Required: Use this property to mark a metadata property as mandatory on the Properties page.
- Disable Edit: Use this property to make a metadata property uneditable on the Properties page.
- Show Empty Field In Read Only: Mark this property to display a metadata property on the Properties page even if it has no value. By default, when a metadata property has no value, it is not be listed on the Properties page.
- Description: Use this property to add a short description for the metadata component.
- Delete icon: Click this icon to delete a component from the schema form.
Add or delete a tab in the schema form add-or-delete-a-tab-in-the-schema-form
The default schema form includes the Basic and Advanced tabs. The schema editor lets you add or delete a tab.
- To add a new tab on a schema form, click +. By default, the new tab has the name 鈥淯nnamed-1.鈥 You can modify the name from the Settings tab.
- To delete a tab, click x. Click Save to save the changes.
Apply a metadata schema to a folder apply-a-metadata-schema-to-a-folder
Brand Portal lets you customize and control the metadata schema so that the Properties page of an asset displays only the specific information you choose to reveal. To control the metadata displayed in the Properties page, remove the required metadata from the metadata schema form and apply it to the specific folder.
To apply a metadata schema form to a folder, do the following:
-
From the toolbar at the top, click the Experience Manager logo to access administrative tools.
-
From the administrative tools panel, click Metadata Schemas.
-
From the Metadata Schema Forms page, select the schema form that you want to apply to an asset, for example, clothing.
-
From the toolbar at the top, click Apply to Folders.
-
From the Select Folders page, navigate to the folder to which you want to apply the clothing metadata schema, for example, Gloves.
-
Click Apply to apply the metadata schema form to the folder.
The metadata available in the clothing metadata schema form is applied to the Gloves folder and is visible in the Properties page of the folder.
Delete a metadata schema form delete-a-metadata-schema-form
Brand Portal lets you delete custom schema forms only. It does not let you delete the default schema forms/templates. However, you can delete any custom changes in these forms.
To delete a form, select a form and click the Delete icon.
Schema forms for MIME TYPES schema-forms-for-mime-types
Adding new forms for MIME types adding-new-forms-for-mime-types
In addition to the default forms, you can add custom forms for assets of various MIME types, or create a new form under an appropriate form type. For example, to add a new template for the image/png subtype, create the form under the 鈥渋mage鈥 forms. The title for the schema form is the subtype name. In this case, the title is 鈥減ng.鈥
Using an existing schema template for various MIME types using-an-existing-schema-template-for-various-mime-types
You can use an existing template for a different MIME type. For example, use the image/jpeg form for assets of MIME type image/png.
In this case, create a new node at /etc/dam/metadataeditor/mimetypemappings
in the CRX repository. Specify a name for the node and define the following properties:
- exposedmimetype: Name of the existing form to be mapped
- mime types: List of MIME types that use the form defined in the exposedmimetype attribute
Brand Portal maps the following MIME types and schema forms:
video/x-ms-wmv
The following is a list of default metadata properties:
jcr:content/metadata/cq:tags
jcr:content/metadata/dc:format
jcr:content/metadata/dam:status
jcr:content/metadata/videoCodec
jcr:content/metadata/audioCodec
jcr:content/metadata/dc:title
jcr:content/metadata/dc:description
jcr:content/metadata/xmpMM:InstanceID
jcr:content/metadata/xmpMM:DocumentID
jcr:content/metadata/dam:sha1
jcr:content/metadata/dam:solutionContext
jcr:content/metadata/videoBitrate
jcr:content/metadata/audioBitrate
jcr:content/usages/usedBy
jcr:content/jcr:lastModified
jcr:content/metadata/prism:expirationDate
jcr:content/onTime
jcr:content/offTime
jcr:content/metadata/dam:size
jcr:content/metadata/tiff:ImageWidth
jcr:content/metadata/tiff:ImageLength