Skip to Content

Smart Templates: Custom View on Object Page

Hi Experts,

I have recently read all the concepts about Smart Template Applications in SAPUI5 and I am wondering if it is possible to embed a custom view on the object page on a Smart Template application. I understand that all the facets displayed on that page are controlled by annotations defined in the odata service. According to this url:

http://help.sap.com/saphelp_nw75/helpdata/de/fa/cfea09018d4376acaceddb7e3f03b6/content.htm?frameset=/de/40/3c050da4ae4566b6aafec2bc590389/frameset.htm&current_toc=/de/5c/be4e5b4a19479a92b1d32ff23b7b63/plain.htm&node_id=584

it seems that there are different facet types (list, actions, contacts etc.) but I don't see any way to show my own view as a facet there. In my case I need to display a tree table as a facet and it would be great if I can start with a Smart Template without implementing all the other front-end logic.

Thanks for help in advance

Regards

Tobias

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 03, 2016 at 09:36 AM

    Hello Tobias,

    I have written a blog How to inject your own XML view into application generated by Smart Template. Hope it can help.

    Best regards,

    Jerry

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 30, 2019 at 05:38 PM

    Does anyone know if you can use the customizing and sap.ui.viewReplacements to replace the sap.suite.ui.generic.template.ObjectPage.view.Details view? I've attempted to do so without any luck.

    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.