Skip to Content
May 10 at 12:04 PM

How to restrict child nodes in end consumption view????

279 Views Last edit May 19 at 07:10 AM 2 rev

Hello Experts,

Is there a way we could restrict the child nodes in a hierarchy in end Consuption view???

For example in the @Consumption.filter.node:

{element: 'HierarchyNode', value: 'ABC' }

ABC node has further child nodes as:

  1. ABC1
  2. ABC2
  3. ABC3
  4. ABC4
  5. ABC5

I wish to read only ABC1 and ABC2 node in my end result. So how can we restrict the last 3 nodes in the output??


I have tried with array of nodes also:-


{element: 'HierarchyNode', value: ['ABC1', 'ABC2'] }

in this case only the later node gets displayed in the output.

Is there a way we can display multiple nodes???

Looking forward for inputs. Thanks!!