Hierarchy tree for three connected lists inside sharepoint online using JavaScript

john john 1,021 Reputation points
2021-01-24T01:01:22.187+00:00

We have these linked sharepoint lists:-

1) Department list

2) Category List >> has a lookup field to the Department list.

3) Asset list >> has a lookup field to the Category list.

so is there a way using JavaScript + sharepoint rest api to build a tree-like view which will show the related Department >> then under each department to show the related Categories >> and then under each category to show the related Assets?

Thanks

Thank

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.