‎2018 Oct 30 3:20 AM
HI all,
I am exercising Datamodel CDS and Service CDS on
https://developers.sap.com/group.scp-8-odata-service.html
The last chapters are dealing with oData. My question is: How do I get a HTML from a oData response? Is this done via JavaScript looping the oData. Or is there a serverside special technique (which I do not know, node.js???) that maps the oData into HTML and sends back to the client?
I appreciate your answers
Regards
Mario
‎2018 Nov 13 1:20 PM
you will not be able to return html from an odata service.. by definition, odata only returns atom/xml or json. the best way to accomplish what you need would be to get the json output from your odata in your client then via jquery, ui5, or any other client side library to get your html control/structure
‎2018 Dec 13 1:21 PM