on 10-24-2014 12:52 PM
Hello gurus,
I have problem with testing of fiori extension in sandbox.
Localy test.
I made leave request extension and now I am trying to test it localy. But when I click on
LEAVE REQUEST EXTIONSOON, only this blue screen appeared.
Here is project in eclipse.
There is a similar problem discussed on this forum, but it was not solved I think.
Can you help me.
Message was edited by: Michael Appleby
The parent project url is not maintained correctly. Pls check in your component.js. Here is a sample
jQuery.sap.declare("zhcm.emp.mytimesheet.Component");
sap.ui.component.load({
name : "hcm.emp.mytimesheet",
url : jQuery.sap.getModulePath("zhcm.emp.mytimesheet") + "/../hcm_ts_cre"
});
hcm.emp.mytimesheet.Component.extend("zhcm.emp.mytimesheet.Component", {
metadata : {
"customizing" :{
"sap.ui.controllerExtensions" : {
"hcm.emp.mytimesheet.view.S2" : {
controllerName : "zhcm.emp.mytimesheet.view.S2Enhancement"
},
"hcm.emp.mytimesheet.view.S31" : {
controllerName : "zhcm.emp.mytimesheet.view.S31Enhancement"
},
"hcm.emp.mytimesheet.view.S3" : {
controllerName : "zhcm.emp.mytimesheet.view.S3Enhancement"
}
}
},
config : {
"titleResource": "My TimeSheet",
"name" : "My Timesheet", //F0397
"sap.ca.i18Nconfigs" : {
"bundleName" : "zhcm.emp.mytimesheet.i18n.i18n"
}
}
}
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
But there is other problem.
After putting logon data, it crashed.
I think, there is problem with GET $metadata and linked to the service on SAP gateway.
It is trying to get metadata from localhost, but the service metadata are on SAP gateway.
Am I wrong ?
I have configured proxy in WEB.xml
Something like that :
<context-param>
<param-name>com.sap.ui5.proxy.REMOTE_LOCATION</param-name>
<param-value>http://[HOST]:[PORT]/</param-value>
</context-param>
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.