Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I would like to have a hierarchical filter that displays for example keywords grouped by the classification tagbox field. You can add a tree view field to your layer e.g here I have added one to the Basic Information field:

Code Block
[
	{
		"fieldId": "keywords",
		"allowRecursion": false,
		"levels": [
			{
				"fieldId": "classification",
				"allowRecursion": false,
				"levels": []
			}
		]
	}
]

Then add a Channel Filter for that field. This will display as follows in your Content Browser:

image-20250108-104206.png


Say I am only interested in the Weather Classification. In this case I can add a Path to the Channel Filter so that I am not displaying the top level of the tree but one of the nodes. To do this I first select Weather in the Content Browser. Once selected I can then search for the path query string in the url that starts with a , in this case ,GZasG6hGZEeHHMCS05NbCg (it’s the List Item ID Base 64 encoded and separated with a ,):

image-20250108-104527.png

I can then add this to the path field in the Channel filter as follows:

image-20250108-105339.png

And will end up with the following display in the Filters where it only shows filter items that have a classication of weather:

image-20250108-120937.png