cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to write FOX code using hierarchies

himavarsha
Discoverer
0 Likes
320

Hi All,

I am very new to FOX code using hierarchies, could you please guide me on how to write fox script on below scenario:

I have a parent node under I have two nodes as again parents and under which I have leaf nodes. My objective is to pass second level in filter criteria, in code I need to read leaf node and run the logic on leaf node.

Thanks & Regards

Himavarsha

Accepted Solutions (0)

Answers (2)

Answers (2)

himavarsha
Discoverer
0 Likes

Hi Gregor,

Could you pls share me a sample code if there is anything as such, which will help me to understand on how start with it, and if we pass multiple parent nodes in filters how to determine that few set of leaf nodes corresponds to one node?

Thanks & Regards

Himavarsha

gregor_dieckmann
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Himavarsha,

in FOX you work on records defined by the aggregation level; these records always contain 'leaves' only, never hierarchy nodes. But you can use a hierarchy in the filter; here the hierarchy is resolved to the leaves and the leaves then determine the records you get in FOX.

Regards,

Gregor