on 04-19-2017 12:39 PM
Hi Experts.
I have downloaded standard Fiori app using /ui5/ui5_repository_load transaction. I made an archive from this and import to WebIde.
I tried to run it but unsucessfuly.
I can't import application directly from abap repository.
Can you help me with this?
1st way of trying.
1.1. Component.js -> Run -> Run Configurations fiori1.jpg
1.2. Component.js -> Run -> Run as -> Sap Fiori Launchpad Sandbox
1.3. Result: HTTP Status 404 - Not Found
1.4. Console: fiori2.jpg
2nd way of trying.
2.1. Create new catalogue in WebIde. E.g. "Sandbox"
2.2. Create new file inside: FLPSandbox.html
2.3. Code of new file:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<title>FLP Sandbox</title>
<script>
window["sap-ushell-config"] ={
defaultRenderer :"fiori2",
renderers: {
fiori2: {
componentData: {
config: {
search: "hidden"
}
}
}
},
applications: {
"ZSM_CM_SYSREC": {
additionalInformation: "SAPUI5.Component=sm.sysrec.mynotes",
applicationType: "URL",
url: "./ZSM_CM_SYSREC/webapp",
title: "ZSM_CM_SYSREC"
}
}
};
</script>
<script src="../test-resources/sap/ushell/bootstrap/sandbox.js" id=
"sap-ushell-bootstrap"></script>
<!-- BootstraptheUI5corelibrary-->
<script id="sap-ui-bootstrap"
src="../../resources/sap-ui-core.js"
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-compatVersion="edge">
</script>
<script>
sap.ui.getCore().attachInit(function() {
// initializetheushellsandboxcomponent
sap.ushell.Container.createRenderer().placeAt("content");
});
</script>
</head>
<body id="content">
</body>
</html>
2.4. Data in node applications are the same as in 1.1
2.5. Insert application to "Sandbox" catalogue fiori4.jpg
2.6. Result: HTTP Status 404 - Not Found
2.7. Console: fiori3.jpg (line 39 is this:
sap.ui.getCore().attachInit(function() {
)
Hi Michal,
Were you able to fix this issue? Please let me know if this was solved? or if you have any links to the tutorial.
Thanks for your response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.