cancel
Showing results for 
Search instead for 
Did you mean: 

Hierarchy Annotation example

Former Member

Hi to All!

SAPUI5 API says that TreeTable can be binded to OData via hierarchy Annotations.

I found some help on annotations like this:

According to API code, I need to use these four annotations:

hierarchy-level-for

hierarchy-parent-node-for

hierarchy-node-for

hierarchy-drill-state-for

But I havent found any examples of Annotation file or annotation XML for usage with OData in SAPUI5

If you have any examples or links, it will be very helpful.


Thanks!

former_member639240
Discoverer
0 Kudos

Did you have a correct answer for this issue? I am grateful if you can share it with me. I am also been stuck!

Thank you so much!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Did you see this?

Regards

Former Member

Yes, I saw. But I couldn't find how the annotation will look in metadata.xml file.

Thanks

former_member213386
Active Participant
0 Kudos

Hi Oleg,

probably you found out in the meanwhile, i'm currently checking for more information too. I found on explored site a metadata file using this attributes:

https://sapui5.netweaver.ondemand.com/sdk/explored.html#/sample/sap.ui.comp.sample.personalization.e...

best regards, Sophie.

Former Member
0 Kudos

Hi, Sophie!

The link you provide is no longer available. Do you have any examples of hierarchy annotations?

Best regards, Eugeny!