Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Tree View Overview

Tree View Field
The Tree view field allows users to model hierarchical data.

Behavior

  • Tree view fields can be enabled for an instance in the License tab in the cloud manager. Please contact support to do this for you.

  • It's a view only field.

  • The administrator who creates the field defines the filter.

  • You cannot edit the field in single or batch edit mode.

  • The field can be added to Layer, List and Virtual Schemas.

  • The field must reference a single or multitagbox field.

  • You cannot select tree view fields in advanced filter editors or add them as sorting fields. Tree view fields will not show up in the List Item Browser.

  • To see tree view fields in the UI you must add them to a Channel or List Filter.

Limitations

  • Tree 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.

  • There is a limit of a 300 child nodes on each tree item (hardcoded).

  • If a child node is selected (but does not appear in the first page, only after “load more”), the count on mouse over is not shown.

Examples

Tree View: Layer Date

Tree View: Layer Keywords Classification with Path

Tree View: List with recursion

Tree View: Layer Country

Tree View Value Handling

This is just a view; no values can be extracted from business rules or in display patterns.

Tree 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.

  • IDs and Names need to be the same or at least have the same meaning.

  • Sentence-style capitalization, for example, Media type and not Media Type.

  • Schema names in plural, for example, products, events, persons for lists.

  • No numbers at the beginning of the ID (mediaType2 is correct but not 2MediaType)

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: 

  • Example: You insert the field name "My NeW fielDs #1 Purpose?

  • Automatic Id: myNeWFielDs1Purpose

You can open the Display Pattern Editor to see the JSON of a Content Item. 

Levels

This is a json editor. In the below case I have made an entry for a tree with recursion false based on three tagbox fields for year month and day.

[
    {
        "fieldId": "year"
    },
    {
        "fieldId": "month"
    },
    {
        "fieldId": "day"
    }
]

  • No labels