The Dynamic View field allows relating content to other content based on metadata or other criteria, for example, relating content with the same document number or relating content with the same product number or the same event. This is especially useful for creating language versions of documents, product packages, or other content collections.
Dynamic View Overview
Icon | |
Behavior | Its a view only field. The administrator who creates the field defines the search criteria e.g. product id = 123. The field will then show all Content Items that match this search criteria. Content that is not permitted to view will be greyed out. You cannot edit the field in single or batch edit mode. |
Batch Actions:
| Related content items can be downloaded all together or placed all together into the basket, for further processing e.g. for editing or sharing. Additionally, each individual item can be downloaded directly or added to the basket. The Download is only available in the single item download, not for batch downloads. |
Limitation | Dynamic View Fields are not editable - neither in Single nor in Batch Editor! The field is therefore also not available in filters or search. The content shown in the field depends on the field filter configuration. Further Limitations:
|
Examples | Multiple items can be related. Examples are:
|
Display & Handling | The dynamic view shows item in a light version of the Content Browser, with list and thumbnail view. The elements can be re-arranged if you have edit permissions on the Content Item and view permissions on the related Content Items. |
Liquid Syntax | Everything from the liquid syntax is supported in this filter including loops, variables etc. |
Permissions | Inside a relationship field, the Content Item permissions apply. For example, if you have a user that cannot view a Content Item in a relationship field he will get this view: However, double-clicking on that field will allow him to view the relationship details - when the layer is visible and thanks to the "view for all" permission on the relationship schema. |
Dynamic View Value Handling
This is just a view, no values can be extracted from business rules or in display pattern.
Dynamic View Field Settings
Name | The Name setting is available for various items in Picturepark, for example, fields, schemas, and business rules. This value defines what appears in the Picturepark interface. You can change the name anytime and translate it into any configured metadata language. To add a translation for the name, select Add.
|
ID | The ID field is the ID of your field, which is used to link to this field. The field ID is always lowercase. The field's ID is set when creating a new field using camel casing. You need the field ID for the configuration of filters or display patterns. The ID is automatically created from the name you insert:
You can open the Display Pattern Editor to see the JSON of a Content Item. |
Filter template | You can add a filter here to find the related items. { "kind": "TermsFilter", "field": "layer1.field1", "terms": ["{{data.layer1.field2}}", "{{data.layer2.field3.[0].field5}}", "{{content.field2.en}}", "hardcodedValue"] } You can add any query filter, whereas for TermFilter & TermsFilter Liquid Syntax is supported.
|
Sort | You can select the metadata value that should be used for sorting the Content Items in the Dynamic View. |
Display Settings | |
Default view | Select the default view for related items:
Large thumbnails are not available as they would not fit into the small view. |
List view maximum rows | Select the maximum rows that should be displayed in the list view. The default is set to 4. |
Thumbnail view maximum rows | Select the maximum rows that should be displayed in the thumbnail view. The default is set to 2. |
Show related content on download | Show the related Content Items in the download window. |