on 07-21-2016 10:24 PM
Hello, SAP delivered standalone applications can be called in a standalone mode with a URL like the one below.
https://www.domain.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=300#Shel...
If I go ahead and extend the Fiori Inbox application, can I call it in a standalone more or do I have to use the Launchpad?
Similar to calling the standard app in standalone mode you can call the extended app in standalone mode by providing the name of the extended component in the URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So what would the new URL look like. I extended the CA_FIORI_INBOX application, I called the extention CA_FIORI_INBOX.EXT and when I published the app to my ABAP Repository, I called the BSP application ZCA_FIORI_INBOX.
When I construct a standalone URL, what would be the values for the below 2 parameters?
sap-ushell-SAPUI5.Component=
sap-ushell-url=
I tried various combinations but nothing seems to work. I always end up getting component.js not found or something related to negative cache.
That's when I get the error the specified controller cannot be found.
Below is the source code for my Component.js
jQuery.sap.declare("cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTN.Component");
// use the load function for getting the optimized preload file if present
sap.ui.component.load({
name: "cross.fnd.fiori.inbox",
// Use the below URL to run the extended application when SAP-delivered application is deployed on SAPUI5 ABAP Repository
url: "/sap/CA_FIORI_INBOX"
// we use a URL relative to our own component
// extension application is deployed with customer namespace
});
cross.fnd.fiori.inbox.Component.extend("cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTN.Component", {
metadata: {
manifest: "json"
}
});
This is the exact error message that I receive
core-min-2.js:6 Uncaught Error: The specified component controller 'cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTN.Component' could not be found!
The URL I am using is as follows:
sap-ushell-SAPUI5.Component=cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTN&
sap-ushell-url=/sap/bc/ui5_ui5/sap/ca_fiori_inbox
What am I missing?
Cheers!
Hi!
You should also pass your's extended app in 'sap-ushell-url' parameter. So url must be:
You can call your extended application directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.