1 Manage Sort Options - DAM v4.7.0
The sort options is defined the search GetAssets located under System tools → ConfigManager → Digizuite™ DAM Center → <<Version number>> → Searches tab. The following XML shows the below screenshots sort options.
For each sort type, there are two tags, Ascending and Descending and each tag has an attribute labelConstantId, which defines the label used for this sort field.
To add a new sorttype, you add 2 new sortField tags. Next step is to add a new label in the ConfigManager. (Labels → SortFields)
Note: The id should be unique.
<sortFields> <sortField id="sortDateAsc" fieldName="asset.upload_date" DefaultToDisabled="true" sortDirection="ascending" labelConstantId="sortDate" /> <sortField id="sortDateDesc" fieldName="asset.upload_date" DefaultToDisabled="true" sortDirection="descending" labelConstantId="sortDate" /> <sortField id="sortAlphabeticAsc" itemGuid="5EB3EEFC-A043-410F-89B0-29ED3EF37078" DefaultToDisabled="true" sortDirection="ascending" labelConstantId="sortAlphabetic" /> <sortField id="sortAlphabeticDesc" itemGuid="5EB3EEFC-A043-410F-89B0-29ED3EF37078" DefaultToDisabled="true" sortDirection="descending" labelConstantId="sortAlphabetic" /> <sortField id="sortAssetTypeAsc" fieldName="asset.asset_type" DefaultToDisabled="true" sortDirection="ascending" labelConstantId="sortAssetType" /> <sortField id="sortAssetTypeDesc" fieldName="asset.asset_type" DefaultToDisabled="true" sortDirection="descending" labelConstantId="sortAssetType" /> </sortFields>