This blog post is part of the series on customizing the Adobe Integrated Content Review solution.
In the Assets view of the Integrated Content Review solution interface, you can find an asset using either basic or advanced search. You can perform advanced search using search attributes, such as campaign name, manager, state, status, and timeline. Besides these attributes, you can create new search attributes. These custom attributes appear in the advanced search options and search results.
To modify the advanced search parameters, you must update the FML file describing an asset. A few custom attributes for assets are predefined—for example, brand of an asset, asset height, asset width, and so on.
The following steps use a pre-defined, asset-level attribute to modify an asset’s FML file:
- Open workItem.fml located at: ICR_SOURCE/integratedcontentreview/package_data/apps/solutions/icr/assetDefinitions/.
- Add properties (described below) in the entity for workitem.fml.
- Update the solution interface. (Refer to Setting up your development environment to do so.)
Following is an explanation of the properties of the attribute:
- visible: Marking its value as True makes it visible in the search results.
- searchable: Marking its value as True makes it visible in the advanced search pane.
- extendedPropertyPath: Path of this attribute.
- assetPropertyType: Marking assetPropertyType as “extended” indicates using extendedPropertyPath attribute, instead of searchPath attribute, to search for the brand name.
For example, the following sample can be used to add a new attribute titled Brand in the advanced search pane.
<property name=”brandName” type=”string”>
An instance of the advanced search pane and the search results, as they appear after this customization, are shown below.
Original article at http://blogs.adobe.com/ADEPhelp/2011/09/icr-customization-to-display-custom-asset-attributes.html.