Forum Discussion
cike
Champion
navya_0204 - With the API call you mentioned above you're able to get the labels for each type of board, no matter what type of conversation it is: If your coreNode is of type blog, you get labels for the blog node and so on.
If you want to get the labels for all nodes within a location (e.g. category) you can do something similar to this:
- Get all board IDs for your category (With this you have IDs for all your nodes, blogs, TKBs, ...)
- Loop through the list of IDs and use the API call above to get labels for each node.
- Aggregate all API responses (label lists) into one, so you have a complete list of all your labels.
While looping through elements and sending multiple API requests could be a time consuming task, I would assume using an endpoint to build the label list and request the endpoint from your custom component.
navya_0204
6 years agoHelper
Thank you cike
Related Content
- 5 years ago
- 2 years ago