Perspective dynamic Navigation tree build

Hi,

is there a way to build dinamically the navigation tree in function of a folder structure or tag string into perspective ?

regards

Sure its all in json

image

[
  {
    "label": "Item 1",
    "expanded": true,
    "data": "I am string data for Item 1",
    "items": [
      {
        "label": "Child 1",
        "expanded": false,
        "data": {
          "someKey": "Information here."
        },
        "items": [
          {
            "label": "Grandchild 1",
            "expanded": false,
            "icon": {
              "path": "material/arrow_right",
              "color": "#869DB1",
              "style": {}
            },
            "data": {
              "things": [
                "one potato",
                "two potato",
                "three potato",
                "four",
                "boilem, mash em, put em in a stew"
              ]
            },
            "items": []
          },
          {
            "label": "Grandchild 2",
            "expanded": false,
            "data": 3.14159265359,
            "items": []
          }
        ]
      }
    ]
  },
  {
    "label": "Item 2",
    "expanded": false,
    "data": [
      1,
      2,
      77,
      89,
      123
    ],
    "items": [
      {
        "label": "Child of Item 2",
        "expanded": false,
        "items": [
          {
            "label": "Different Grandchild 1",
            "expanded": false,
            "items": []
          }
        ]
      }
    ]
  }
]

SectionData

[
  {
    "itemPath": "0/0/1",
    "value": 3.14159265359
  }
]

So write a script that makes a Json structure like so…and send it to props.items

Thanks for the answer, i will look this way

Regards