Add custom properties to Correspondence Management assets
- Topics:
- Correspondence Management
CREATED FOR:
- Admin
- User
- Developer
Overview
You can customize Correspondence Management user interface and present users with a tailored set of properties and tabs. This customization includes adding custom fields/properties and tabs to specific asset types/letters or all the asset types and letters.
Adding custom properties to Correspondence Management assets
The following scenarios show how you can add properties/tabs to Correspondence Management assets and letters:
- Adding a common property to all the asset types
- Adding a common tab to all the asset types
- Adding custom properties to specific asset types
By tweaking the properties, paths, and values in these scenarios, you can add custom properties and tabs to a different set of assets according to your requirements.
Scenario: Adding a common field (property) to all the asset types
This scenario shows how you can add a custom property to all the asset types (text, list, condition, and layout fragments) and the letters. Using this scenario, you can add a property, Location of recipients, to all the assets and letters. The Location of recipients property helps identify which geographical area of delivery an asset or letter is relevant to.
Complete the following steps to add a custom property to all the asset types and letters:
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
In the apps folder, create a folder named css with path/structure similar to the css folder (in ccrui folder) using the following steps:
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/commonproperties/col1/items
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/content/cmmetadataproperties/commonproperties/col1/items
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
-
Click Save All.
-
-
Under the newly created items folder, add a node for the custom property in all the asset (Example: GeoLocation) using the following steps:
-
Right-click the items folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: GeoLocation (or the name you want to give to this property)
Type: nt:unstructured
-
Click the new node you have created (here GeoLocation). CRX displays the node’s properties.
-
Add the following properties to the node (here GeoLocation):
NameTypeValuefieldLabelStringThe name you want to give the field/property. (Here: Location of recipients)nameString./extendedproperties/GeoLocation
(Keep the value same as the field name you created under the items node)renderReadOnlyBooleantruesling:resourceTypeStringgranite/ui/components/coral/foundation/form/textfield
-
Click Save All.
-
-
To view your customization, hover over an asset (text, list, condition, or layout fragment) or letter, click View Properties, and click Edit. The new field (Location of recipients) appears in the Basic tab in the asset/letter properties.
NOTE
You may need to clear the browser cache before your customization appears in the UI.NOTE
The common properties for all assets that you add appear in the basic tab of the asset properties. By default, the common properties added for all assets appear on the properties page and the asset creation page. To hide the common properties, you need to .
Scenario: Add custom drop-down and values to a custom property/field
This scenario shows how you can add a custom property to all the asset types and add drop-down values to it.
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/commonproperties/col1/items
-
Under the newly created overlay node (https://experienceleague.adobe.com/apps/fd/cm/ma/gui/content/cmmetadataproperties/commonproperties/col1/items?lang=en)
Create a node for each of the properties (fields) for which you need to create a drop-down (heregeographicallocation
) of the type nt:unstructured. -
Add the following properties to the node (here geographicallocation) and click Save All:
NameTypeValuefieldLabelStringThe name you want to give the field/property. (Here: geographicallocation)nameString./extendedproperties/geographicallocation (Keep the value same as the field name you created under the items node)renderReadOnlyBooleantruesling:resourceTypeStringgranite/ui/components/coral/foundation/form/select -
Under property node (here geographicallocation), add a new node with name
items
. Under the items node, add a node each for the values in the drop-down. As a good practice, add the first node as blank to serve as the default value of the drop-down and an option for the user to specify no value for the field. To add multiple options/drop-down values, repeat the following steps:-
Right-click the property node (here geographicallocation) and select Create > Create Node.
-
Enter name of the field as
item1,
retain type as nt:unstructured, and click OK. -
Add the following properties to the newly created node (here item1) and then click Save All:
NameTypeValuetextStringThis is the value of the drop-down option that is visible to the user. Keep it blank for the blank (default) value or enter the value, such as International or Within US.valueStringValue stored in CRXDE for the text. Enter any unique keyword.
The custom drop-down appears as the following in asset properties:
Scenario: Common tab for all asset types
This scenario shows how you can add a custom tab, Recipients, to all the asset types (text, list, condition, and layout fragments) and the letters. The Recipients tab is where you can plan to put all your custom properties relevant to the recipients.
Using the following procedure, you can add a tab with a field to all your assets:
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
In the apps folder, create a folder named cmmetadataproperties with path/structure similar to the cmmetadataproperties folder (in content folder) using the following steps:
-
Right-click the cmmetadataproperties folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmmetadataproperties
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/content/cmmetadataproperties
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
Click Save All.
-
-
Under the cmmetadataproperties folder, add a node for creating a custom tab for all the assets (Example: commontab) using the following steps:
-
Right-click the cmmetadataproperties folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: commontab (or the name you want to give to this property)
Type: nt:unstructured
-
Click the new node you have created (here commontab). CRX displays the node’s properties.
-
Add the following properties to the node (here commontab):
NameTypeValuejcr:titleStringThe name you want to give the column. (Here: Recipients)sling:resourceTypeStringgranite/ui/components/coral/foundation/container- Click Save All.
-
For the tab node created in the last step (here commontab), create a node called item using the following step:
-
Right-click the relevant node (here commontab) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: items
Type: nt:unstructured
-
Click Save All:
-
-
In the items node you created in the previous step (under commontab), add a node for creating a column (here Column1) in the custom tab (commontab) using the following steps (to add more columns, repeat this step):
-
Right-click the items node and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: Column1 (Or the name you want to give to the node - this name does not appear in the User Interface.)
Type: nt:unstructured
-
Add the following property to the node (Here Column1) and then click Save All:
NameTypeValuesling:resourceTypeStringgranite/ui/components/coral/foundation/container
-
-
In the node you created in the previous step (here Column1), add a node called items using the following steps:
-
Right-click the node (here Column1) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: items
Type: nt:unstructured
-
Click Save All.
-
-
To create a field in the custom tab (here Recipients), add a node (here GeographicalLocation). This property corresponds to the column you created. Use the following steps to create the field (to create more fields/nodes, repeat these steps.):
-
Right-click the items node and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: GeographicalLocation (or another name for the field property)
Type: nt:unstructured
-
Add the following properties to the field node (here GeographicalLocation) and click Save All.
NameTypeValuefieldLabelStringLocation of recipients (or the name you want to give the field.)nameString./extendedproperties/GeographicalLocationrenderReadOnlyBooleantruesling:resourceTypeString/libs/granite/ui/components/coral/foundation/form/textfield
-
-
To add this tab for Letters, create an overlay folder with path/structure similar to the following items folder at the following path:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/letter/items/tabs/items
To create overlay for a letters or a different asset use the following path by replacing [assettype] with text, condition, list, datadictionary, or fragment:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/[assettype]/items/tabs/items
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/letter/items/tabs/items
-
Ensure that the Overlay Node dialog has the following values:
Path:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/letter/items/tabs/items
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder is created. Click Save All.
-
-
In the newly created items folder, add a node for the custom tab in the asset (here mytab - this name does not show up in the User Interface) using the following steps:
-
Right-click the items folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: mytab (or the name you want to give to this property)
Type: nt:unstructured
-
Click the new node you have created (here mytab). CRX displays the node’s properties.
-
Add the following two properties to the node (here customtab):
NameTypeValuepathStringfd/cm/ma/gui/content/cmmetadataproperties/commontabsling:resourceTypeStringgranite/ui/components/coral/foundation/include -
Click Save All.
-
-
To view your customization, hover over the relevant asset (here a letter), click View Properties, and click Edit. The new tab (Recipients) and field (Location of Recipients) appear in the user interface.
NOTE
You may need to clear the browser cache before your customization appears in the UI.
Scenario: Adding custom properties for specific asset types
This scenario shows how you can add a property to a particular asset type, such as a field to all the text assets. Using this process, you can add properties to one of the following:
- Text
- Condition
- List
- Layout Fragment
- Data Dictionary
- Letter
For example, only to the text assets, you want to add a property, Location of recipients, to identify which geographical area that an asset is relevant to.
To add a property to an asset type, complete the following steps:
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
To create a tab in an asset type (such as Text), create the following folder structure in the apps folder:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/[AssetType]/items/tabs/items
[AssetType] = text, condition, list, letter, datadictionary, or fragment
Following are the steps to create this folder structure:
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/[AssetType]/items/tabs/items
For example, if you want to create a property for text assets, select the following folder:
/libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/text/items/tabs/items
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/content/cmmetadataproperties/properties/[AssetType]/items/tabs/items
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
Click Save All.
-
-
In the newly created items folder, add a node for the custom tab in the asset (Example: customtab) using the following steps:
-
Right-click the items folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: customtab (or the name you want to give to this property)
Type: nt:unstructured
-
Click the new node you have created (here customtab). CRX displays the node’s properties.
-
Add the following two properties to the node (here customtab):
NameTypeValuesling:resourceTypeStringgranite/ui/components/coral/foundation/containerjcr:titleStringThe name of the field on the User Interface (here My tab) -
Click Save All.
-
-
In the node you created in the previous step (here customtab), add a node called items using the following steps:
-
Right-click the node (here customtab) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: items
Type: nt:unstructured
-
Click Save All.
-
-
In the items node you created in the previous step (under customtab), add a node for creating a column (here Column1) in the custom tab using the following steps (to add more columns, repeat this step):
-
Right-click the items node and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: Column1 (or the name you want to give to the node)
Type: nt:unstructured
-
Add the following property to the node (Here Column1) and then click Save All.
NameTypeValuesling:resourceTypeStringgranite/ui/components/coral/foundation/container
-
-
For each column you create (as specified in the previous step - here Column1), create a node called item using the following steps:
-
Right-click the relevant column node (here Column1) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: items
Type: nt:unstructured
-
Click Save All:
-
-
For each of the columns created, create a node under the items node for creating a field in the new tab in the User Interface. Repeat this step to create more fields in the column:
-
Right-click the relevant node (here items under Column1) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: A name of your choice (here GeoLocation)
Type: nt:unstructured
-
Add the following properties to the node and then click Save All.
NameTypeValuefieldLabelStringLocation of recipients (or the name you want to give the field.)nameString./extendedproperties/GeoLocation
renderReadOnlyBooleantruesling:resourceTypeStringgranite/ui/components/coral/foundation/form/textfield
-
-
To view your customization, hover over the relevant asset (here a text), click View Properties, and click Edit. The new tab and field (Location of Recipients) appear in the user interface.
NOTE
You may need to clear the browser cache before your customization appears in the UI.
Display custom properties on the Asset Creation Page
By default, the custom properties added to new tabs are visible only on the properties page and not on the asset creation page, as the asset creation page does not have tab layout. To display the custom properties on the asset creation page along with other properties, you need to do the following:
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/createasset/createletter/jcr:content/body/items/form/items/letterWizard/items/properties/items/properties/items/letterproperties/items
-
Ensure that the Overlay Node dialog has the following values, for letter. For other asset types, path is given in the following table:
Path: /libs/fd/cm/ma/gui/content/createasset/createletter/jcr:content/body/items/form/items/letterWizard/items/properties/items/properties/items/letterproperties/items
Location: /apps/
Match Node Types: Selected
Depending on the type of asset, following needs to be the path:
Asset/document typePath to be addedText/libs/fd/cm/ma/gui/content/createasset/createtext/jcr:content/body/items/form/items/textwizard/items/editproperties/items/properties/items/tabs/items/tab1/itemsList/libs/fd/cm/ma/gui/content/createasset/createlist/jcr:content/body/items/form/items/listwizard/items/editproperties/items/properties/items/tabs/items/tab1/itemsCondition/libs/fd/cm/ma/gui/content/createasset/createcondition/jcr:content/body/items/form/items/conditionwizard/items/editproperties/items/properties/items/tabs/items/tab1/itemsFragment/libs/fd/cm/ma/gui/content/createasset/createfragment/jcr:content/body/items/form/items/fragmentwizard/items/properties/items/properties/items/tabs2/items/tab1/itemsLetter/libs/fd/cm/ma/gui/content/createasset/createletter/jcr:content/body/items/form/items/letterWizard/items/properties/items/properties/items/letterproperties/items -
Click OK. The folder structure is created in the apps folder.
-
Under the overlay items node you created, create a node of the name col4 (or any other name) and click Save All.
For example, following is the overlay node created for letters.
/apps/fd/cm/ma/gui/content/createasset/createletter/jcr:content/body/items/form/items/letterWizard/items/properties/items/properties/items/letterproperties/items
-
Add the following properties to the newly created node (here col4) and click Save All:
NameTypeValuepathStringThis path is the pointer to the column created in:
- For common tab for all asset types: /apps/fd/cm/ma/gui/content/cmmetadataproperties/commontab/items/col1
- For different properties for different asset types: /apps/fd/cm/ma/gui/content/cmmetadataproperties/properties//items/tabs/items/customtab/items/col1
sling:resourceTypeStringgranite/ui/components/coral/foundation/includeCustom property, Language, appearing in the UI for creating a letter
Customize the list view to show custom properties
After you have added a custom property to Correspondence Management assets, you need to make further changes in CRX/DE to ensure that the custom property is displayed in the Correspondence Management UI.
Complete the following steps to display the custom property in the Correspondence Management’s asset list UI:
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
Create the following folder structure in the apps folder:
/libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/lists/columns
Following are the steps to create this folder structure:
-
Right-click the columns folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/lists/columns
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/lists/columns
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
Click Save All.
-
-
For each of the properties created, create a node under the columns node for creating a column in the User Interface. Repeat this step to create more columns in the UI:
-
Right-click the relevant node (columns) and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: A name of your choice (here GeographicalLocation)
Type: nt:unstructured
-
Add the following properties to the node and then click Save All.
NameTypeValuejcr:primaryTypeNament:unstructuredjcr:titleStringGeographicalLocation
This value appears as the column header in the UI.
sortableBooleantrue
A value of true signifies that the user can sort the values in this column.
-
-
Create the following folder structure in the apps folder:
/libs/fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage
Following are the steps to create this folder structure:
-
Right-click the columns folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
Click Save All.
-
-
Copy the childlistpage.jsp file from the following location:
/libs/fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage/childlistpage.jsp
Paste the file in the following location:
/apps//fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage/.
-
Open the childlistpage.jsp file (https://experienceleague.adobe.com/apps/fd/cm/ma/gui/components/admin/childpagerenderer/childlistpage/childlistpage.jsp?lang=en) and make the following changes:
-
Add the following to line 19 of the file (following the copyright statement).
<%@page import="java.util.Map"%>
-
Add the following code of a function that gets value for each custom property to the end of the file:
<%! private String getCustomPropertyValue(Map<String, Object> extendedProperties, String propertyName) { String propertyValue = ""; if (extendedProperties.containsKey(propertyName)) { propertyValue = (String) extendedProperties.get(propertyName); } return propertyValue; } %>
-
Add the following before the starting of the <tr> tag (<tr <%= attrs.build() %>>):
<% String GeoLocation = ""; if (asset != null) { Map<String, Object> extendedProperties = asset.getExtendedProperties(); if (extendedProperties != null) { GeoLocation = getCustomPropertyValue(extendedProperties,"GeoLocation"); } } %>
In the code, GeoLocation is the value that you set in the name property while creating the custom node/field. While creating a custom node/field, you specified the name of property with ./extendedproperties/ prefix: ./extendedproperties/GeoLocation. In the code, the prefix is not required.
-
For displaying the new property in the UI, add a TD tag as following before the closing tr (</tr>) tag:
<td is="coral-td" value="<%= xssAPI.encodeForHTMLAttr(geographicalLocation) %>"><%= xssAPI.encodeForHTML(geographicalLocation) %></td>
To add more columns, repeat steps 6.3 and 6.4.
-
Click Save All.
-
-
To view your customization, open list view of document fragments, or letters in which you have added the custom property.
The UI column and property added in this procedure is displayed for all asset types. However, the values in these properties can be entered and displayed only for the asset types for which you originally added the custom property.
For example, using the Scenario: Adding custom properties for specific asset types you add a custom property to text assets, you can enter custom properties to text assets only. If, however, you display that custom property in the UI, the column appears for all asset types.
-
(Optional) By default the new column appears as the last column in the UI. To make the column appear at a specific position, add the following property to the column node:
NameTypeValuesling:orderBeforeStringThe name of the column node at path "/libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/list/columns" before which custom column needs to appear on UI.
Here, if you want Geographical Location column to appear before (to the left of) the Version column, add the property sling:orderBefore to GeoLocation node at path ""/apps/fd/cm/ma/gui/content/cmassets/jcr:content/views/list/columns/GeoLocation" and set the value of property to version.
When you add the sling:orderBefore property to specify the column location, then you also need to update the order of the corresponding <td> tag specified in step 6.4 of this procedure. For example, in this case, you need to ensure that the <td> tag of Geographical Location is placed before <td> tag of Version column:
<td is="coral-td" value="<%= xssAPI.encodeForHTMLAttr(geographicalLocation) %>"><%= xssAPI.encodeForHTML(geographicalLocation) %></td> <td is="coral-td" value="<%= xssAPI.encodeForHTMLAttr(version) %>"><%= xssAPI.encodeForHTML(version) %></td>
Enable search for custom properties
By default, full text search does not include custom properties that you add to the UI using CRX/DE.
To include the custom properties in search, you need to allow indexing of custom properties.
To allow indexing of custom properties, complete the following steps:
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
Go to
/oak:index/cmLucene
and add a node named aggregates under it.-
Right-click the cmLucene folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: aggregates
Type: nt:unstructured
-
Click Save All.
-
-
Under the newly created aggregates folder, add a node cm:resource. And under cm:resource, add a node named include0.
-
Right-click the aggregates folder and select Create > Create Node. Ensure that the Create Node dialog has the following values and click OK:
Name: cm:resource
Type: nt:unstructured
-
Right-click the cm:resource folder and select Create > Create Node. Ensure that the Create Node dialog has the following values and click OK:
Name: include0
Type: nt:unstructured
-
Click the new node you have created (here include0). CRX displays the node’s properties.
-
Add the following property to the node (here include0):
NameTypeValuepathStringextendedProperties -
Click Save All.
-
-
Go to properties at the following location and add a node location under it:
/oak:index/cmLucene/indexRules/cm:resource/properties
Repeat this step for each of the custom properties you want to add to the search.
-
Right-click the properties folder and select Create > Create Node.
-
Ensure that the Create Node dialog has the following values and click OK:
Name: location (or the name of the custom property you want to add to search)
Type: nt:unstructured
-
Click the new node you have created (here location). CRX displays the node’s properties.
-
Add the following properties to the node (here location):
NameTypeValueanalyzedStringtruenameStringextendedProperties/location (or the name of the property you want to add to search)propertyIndexBooleantrueuseInSuggestBooleantrue -
Click Save All.
-
-
Now you can use custom property values in full text search to locate relevant assets.
NOTE
If you are still unable to search, it may be because of an indexing issue. For re-indexing, go to the following node and change value of property “re-index” to true:/oak:index/cmLucene" and change value of propertyChange default view of the search page
-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
In the apps folder, create a folder named list with path/structure similar to the list folder in /libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/views:
-
Right-click the items folder at the following path and select Overlay Node:
/libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/views/list
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/views/list
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
-
Click Save All.
-
-
In the newly created node, list, add the following property and click Save All:
NameTypeValuesling:orderBeforeStringcard -
The customization shows search results in List view for all consoles, including Forms and Documents, Assets, and Sites.
Change default view of the assets page
NOTE
These steps change the default view of all consoles such as Forms and Documents, Assets, and Sites.-
Go to
https://'[server]:[port]'/[ContextPath]/crx/de
and login as Administrator. -
In the apps folder, create a folder named list with path/structure similar to the list folder in:
/libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/
-
Right-click the items folder at the following path and select Overlay Node:
/libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/list
-
Ensure that the Overlay Node dialog has the following values:
Path: /libs/fd/cm/ma/gui/content/cmassets/jcr:content/views/list
Location: /apps/
Match Node Types: Selected
-
Click OK. The folder structure is created in the apps folder.
-
Click Save All.
-
-
In the newly created node, list, add the following property and click Save All:
NameTypeValuesling:orderBeforeStringcard -
Clear the browser cookies or use the incognito mode of your browser to view the assets. The assets page, by default, appears in the card layout.
Show/hide custom properties on Asset Creation and Properties pages
To show or hide the custom properties, complete the following steps:
-
Under the custom property node, such as geographicallocation, create a node with name “granite:rendercondition” of type “nt:unstructured.”
-
Add the following property to the node and click Save All:
NameTypeValuesling:resourceTypeStringfd/cm/ma/gui/components/admin/assetsproperties/custompropertyconfig -
To hide this property on the asset creation page, add the following property to it and click Save All:
NameTypeValuehideOnCreateBooleantrue -
To hide the custom property on the properties page of the assets, add the following property to it and click Save All:
NameTypeValuehideOnEditBooleantrueTo display the values again, either reset the property values to
false
or delete the property entries.
-
-