Hello,
I am trying to create my first XSAppSite in SAP HANA Studio, however, upon trying to add a widget to the site (that is referring to the index.html file) I keep getting a widget with empty content added. Please find below the code for the xswidget and the xml specification file:
cic.xswidget:
{
"name" : "CIC",
"specXMLURL" : "/CIC/UI/helloWidget.xml" ,
"description": "",
"icon" : "/CIC/UI/images/sap.png"
}
helloWidget.xml:
<Module>
<ModulePrefs title="cic">
<Require feature="sap-context"/>
</ModulePrefs>
<Content type="html" href="/CIC/UI/demo_ui/WebContent/index.html">
</Content>
</Module>
Please help if you have faced a similar issue before.
Best regards,
~M.Hisham