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 17 Next »

If you would like to add a hierarchical filter for date then add a tree view field to the Layer. For example I have three tagbox fields for Year/Month/Day in my Basic Information Layer and have added a Tree View field to display the date:

Picture of tree view field

I have entered the below in Levels. The allow recursion will be set to false by default after saving.

The fields will be shown in the filter in the order below. For an American date for example you may want to use month/day/year.

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

Once this is done you need to add a Channel Filter:

image-20250108-090635.pngimage-20250108-091040.png

This will then result in the Hierarchical Filter as pictured below:

image-20250108-091816.pngimage-20250108-091340.png

If you would like the filter to display a month name such as October instead of 10 then you can add code to the Name Display pattern of the list that is linked to your Month tagbox in this example.

  • No labels