on 01-06-2016 2:26 PM
Hi All,
1. We have implemented sapui5 application and deployed into hana cloud portal by using git repository, application name is ppspomat. This application content is under webapp, the app url is like "https://ppspomat-<tenant>.dispatcher.hana.ondemand.com/webapp/index.html"
2. I want to extend the above application, created the extended application by using fiori plugin in eclipse.
in component.js
jQuery.sap.declare("com.art.pomatExt.Component");
sap.ui.component.load({
name: "com.art.pomat",
url: jQuery.sap.getModulePath("com.art.pomatExt") + "/../ppspomat" //tried in this way its not working
(or)
url: "ppspomat" //tried in this way its not working
});
Please am new to this concept, please help me.
Thanks,
Preethi
You can use Web IDE to generate this for you. In the component.js it would declare something similiar to
name: "com.art.poma",
url: jQuery.sap.getModulePath("com.art.pomatExt") + "/parent"
and the neo-app.json would have
{
"path": "/webapp/parent",
"target": {
"type": "application",
"preferLocal": true,
"name": "ppspomat"
},
"description": "Original Application"
},
{
"path": "/dist/parent",
"target": {
"type": "application",
"preferLocal": true,
"name": "ppspomat"
},
"description": "Original Application"
},
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.