on 05-26-2015 4:32 PM
Hi All
I have created a sap Fiori App, from the samples. When I am trying to run that app in a browser, I am getting error at the below line.
sap.ushell.Container.createRenderer().placeAt("content");
I looked at some posts and they suggested to use, "<script src="/sap/public/bc/ui5_ui5/resources/sap/ushell_abap/bootstrap/abap.js"></script>". I tried including this, but it did not work in my scenario.
Could some one suggest, how to get the ushell library from a different source/server Or any other option to get this working?
Thanks very much
Regards
Giri
Hi Giri,
I'm facing the same issue. Did you get solution for your problem ?
Any clue would be of great help.
Regards,
Vinuta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have same problem.
You can edit like this:
<!-- <script type="text/javascript">
window["sap-ushell-config"] = {
defaultRenderer : "fiorisandbox",
services: {
NavTargetResolution: {
// navigation target resolution service is configured to resolve the empty location hash to the application
config : {
resolveLocal : [ {
"linkId" : "",
resolveTo : {
additionalInformation : "SAPUI5.Component=hcm.manleaverequest",
applicationType : "URL",
url : "./" + window.location.search // pass URL query parameters to application
}
}]
}
}
} // services
};
</script>
<!-- <script src="test-resources/sap/ushell/bootstrap/sandbox.js" id="sap-ushell-bootstrap"></script>
<!-- Bootstrap the UI5 core library -->
<!-- <script type="text/javascript">
sap.ui.getCore().attachInitEvent(function() {
sap.ushell.Container.createRenderer().placeAt("content");
});
</script>-->
<!-- Application launch configuration -->
<script>
sap.ui.getCore().attachInitEvent(function () {
var oComponentContainer = new sap.ui.core.ComponentContainer({
height : "100%",
name:"your.namespace"
});
oComponentContainer.placeAt("content");
});
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.