cancel
Showing results for 
Search instead for 
Did you mean: 

Extended Fiori Application URL's

0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

saurabh_vakil
Active Contributor
0 Kudos

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.

0 Kudos

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.

younghwan_kim
Active Participant
0 Kudos

I think [sap-ushell-SAPUI5.Component] parameter probelm.


For example, if your declare your extended component name in your component.js

cross.fnd.fiori.inbox.extend("xxx.yyy.Component") { ...


then

you should set [xxx.yyy] to your parameter without Component.

0 Kudos

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:


https://www.domain.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=300#Shel...?

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!

Konstantin
Participant
0 Kudos

Hi!

You should also pass your's extended app in 'sap-ushell-url' parameter. So url must be:

  1. https://www.domain.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=300#Shel...
  2. sap-ushell-SAPUI5.Component=cross.fnd.fiori.inbox.CA_FIORI_INBOX_EXTN& 
  3. sap-ushell-url=/sap/bc/ui5_ui5/sap/ZCA_FIORI_INBOX 

Answers (1)

Answers (1)

younghwan_kim
Active Participant
0 Kudos

You can  call your extended application directly.