Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

HANA Fiori Launchpad, custom app tile (semantic object) SITE_USER can't open

$
0
0

Hi all,

 

I have created a UI5 app for HANA FLP (not Gateway FLP). In configuring the app launcher tile, I've set it up with a semantic object navigation target, so that I can nav straight to it from the HANA FLP without opening a new tab.

 

The trouble I face is that I cannot navigate to my app unless I give the logged in user the SITE_DESIGNER role. However, this shouldn't be necessary. The sap.hana.uis.db::SITE_USER role should be sufficient for this.

 

To explain with some pictures, here is my app tile in my Fiori LP on HANA:

FLP1.JPG

 

Here the role I have created and applied to my user; note that this role extends SITE_DESIGNER. Extending a role like this is standard behaviour for a role that applied to an app with a semantic navigation target. The thing is, this role shouldn't need to give a user the SITE_DESIGNER role. That's overkill.

FLP3.JPG

 

When I click the tile, I am taken to the app, within the Fiori shell through the semantic object navigation target (stanom-show):

FLP2.JPG

 

If I now change my role to extend the sap.hana.uis.db::SITE_USER role, we run into trouble:

FLP4.JPG

 

And now when I navigate to my app...

flp5.JPG

 

Here is the console from Chrome. Quite clearly, the FLP can no longer read from the semantic navigation views/tables in order to determine the path to the semantic navigation target.

FLP6.JPG

 

What's also VERY interesting is that if I copy all the privileges in the sap.hana.uis.db::SITE_DESIGNER role into my application role (which is granted to my user), I still get this error!

 

So I'm curious to know what's going on here, and if I'm missing something?

 

Cheers,

Hagen


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>