cancel
Showing results for 
Search instead for 
Did you mean: 

Short URL for Launchpad App- Error

Former Member
0 Kudos

Hi

I need a small help

I have a custom application in fiori launchpad which is giving an error when it is accessed using a short url

https://<hostname>:<port>/fiori#AppName

Error: sap/packagename/~8BEF....... not found!

This does not happen when I use the complete url

https://<hostname>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html#AppName




Can anyone please help to resolve this?

Regards

Lavanya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Yes I have defined the semantic object

All we did are these two steps

  1. Added cache buster in the script tags of index.html

  2. Ran the SE38 program to update the cache buster (/ui5/app_index_calculate)and selected our application name


And it is giving the error shown in the original post

I tried all the cache clearing mechanisms mentioned in the document below but it did not work.

Can anyone suggest what is the right way to set up cache buster for fiori apps and is there some step that I have missed out or done wrong?

Regards

Lavanya

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lavanya,

Please share how did you define the short URL. I think it is a root cause.

Regards,

Masa / SAP Technology RIG

0 Kudos

Hi Masa,

Short URL is just an alias but that is not an issue. As the short URL worked until we enabled App cache buster. When we enabled cache buster, the launchpad doesnt even load index.html

We were told that there is a different launchpad configuration for apps with caching, but I am not sure what that is. Any suggestions?

Regards

Rahul

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahul,

Please share the test result for executing short URL with a Fiori standard app.

If it works, root cause is in your custom app.

Regards,

Masa / SAP Technology RIG

0 Kudos

Hi Masa,

Custom app works fine in the non cache buster URL. If we dont run the APP_INDEX_CALCULATE and remove the appCacheBuster attribute from the script tag, it also works fine on the short URL.

Don't think this is a problem in the custom app as such.

Regards
Rahul

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahul,

So can you reproduce the error with SAP standard Fiori app?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hi Masa

Standard Fiori App works alright with the short URL but not the custom apps. This started happening after we activated cache buster for custom apps. We had put the cache buster logic in script tags in index.html and had run the program  APP_INDEX_CALCULATE for the custom apps.

Regards

Lavanya

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lavanya,

Please take a look at .

Please double check your Component.js.

Regards,

Masa / SAP Technology RIG

Niki
Explorer
0 Kudos

Did you find a solution for this? We have the same problem.

0 Kudos

Yes the issue was with the launchpad configuration.

You need to put "additional information" as described in http://scn.sap.com/docs/DOC-61115:

“SAPUI5.Component=you.app.namespace”

Niki
Explorer
0 Kudos

Works perfect, thanks

Former Member
0 Kudos

Hi Rahul,

We are having same issue. In your previous reply you have posted a link. I am not able to access the link. Can you please share the link.

Regards,

Vijay Daniel

0 Kudos

Hi Vijay,

It is essentially just one setting inside Additional Parameters which refers to SAPUI5.Component. You can use this link for details

Regards

Rahul

Former Member
0 Kudos

Hi Rahul,

Thank you so much for quick reply.

I have followed all the setting mention in the link. When we have activated the cache buster url we started getting this issue. This is happening only for the custom app. Please find the below screen shot

Cache buster url:

  • https://<server>:<port>/sap/bc/ui2/flp/FioriLaunchpad.html

0 Kudos

Hi Vijay,

Your issues seems to be different, it about duplicate targets defined for hash. You might want to recheck your launchpad configuration to see if you have more than two apps defined with the same target.


Regards

Rahul

Former Member
0 Kudos

Hi Rahul,

Thank you.

Done few changes now i am getting below attached error.

Regards,

Vijay

0 Kudos

Vijay,

For us this error was due to wrong value for SAPUI5.Component in additional setting. Only thing I can suggest is that you check the configuration for "Additional Settings" and see if the namespace assigned to SAPUI5.Component is correct or not.

Regards

Rahul

Answers (3)

Answers (3)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lavanya,

Have you defined a semantic object?

Regards,

Masa / SAP Technology RIG

jessie_xu2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lavanya,

Please try clearing caches as per document below.

Regards,

Jessie

agentry_src
Active Contributor
0 Kudos

Discussion successfully moved from SAP for Mobile to SAP Fiori

as the more appropriate community for this topic.

Regards, Mike (Moderator)

SAP Technology RIG