Skip to Content
author's profile photo Former Member
Former Member

Hierarchy Annotation example

Hi to All!

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

I found some help on annotations like this:

SAP Annotations for OData Version 2.0

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 02, 2015 at 07:11 AM

    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.exampleForTreeTableWithOData/preview

    best regards, Sophie.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 21, 2016 at 07:35 AM

    Did you see this?

    TreeTable Odata binding

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.