cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Templates: Custom View on Object Page

former_member204167
Participant
0 Kudos

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=...

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

Accepted Solutions (1)

Accepted Solutions (1)

JerryWang
Advisor
Advisor
0 Kudos

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

Answers (1)

Answers (1)

kevin_fowlks
Explorer
0 Kudos

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.