cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the ID (description) of the parent element in the current Drill Down using SAC script

Jason233
Product and Topic Expert
Product and Topic Expert
0 Kudos
122

Hi everyone,

When clicking drill down button, we want to get the ID (description) of the parent element of the hierarchy. But we can't find a method that does this in the documentation or forums. We know the getHierarchyLevel() API can get the hierarchy level, but we want the info of parent element.

Is there any way to implement this? Thanks for your help.

Picture1.png

Accepted Solutions (0)

Answers (1)

Answers (1)

William_Yu
Product and Topic Expert
Product and Topic Expert
Jason233
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi William, 

Thanks for your advice. But we still have problem on how to get the parent node at the time drill down is happening. There is only onSelect() and onResultChanged() function in chart and I do not figure out how to capture the time of drill down only rely on these two functions.