Skip to Content
0

Tile and intent

May 12, 2017 at 07:54 AM

107

avatar image

Hi,

I tried to look for the answer but I couldn't find anything. My concern is about Fiori Tiles and Target Mappings (and intent).

1) Why, when defining a tile, we need to provide semantic object and action (intent) to the target mapping we have created? Shouldn't each target mapping have some kind of ID that we associate with the tile? What flexibility gives us the current design?

2) If we have defined two target mappings with the same intent (in the same catalog or within two separate catalogs), how the tile will know which target mapping use?

3) Is it possible somehow to interact with target mappings through roles? For one user action create can execute different Fiori app than for the other?

Thanks a lot!
Moho

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Keith Nunn
May 17, 2017 at 05:00 PM
0

Hi, Moho.

1) There is an ID associated to the target mapping that's stored in the database but the semantic object + action are what the intent resolver uses when the tile is clicked from the Launchpad. The flexibility this gives is to allow you to have multiple target mappings which use the same intent, if desired.

2) If you have multiple target mappings with the exact same intent assigned to various roles that are assigned to a single user then it resolves with the first one it finds. There is no guarantee which one this will be from a design point of view. So you generally don't want to assign multiple target mappings to the same user if they use the same intent but different settings/parameters.

3) It's possible to create multiple target mappings that use the same intent but have them in different catalogs. You can then have each catalog separated out to a different PFCG role and only assign one of them to any given user. At the same time, the tile which is defined to call that intent can be assigned to all of the users. This isn't a common scenario but is possible with the current design.

Thanks,

Keith Nunn
SAP Product Support

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hello,

thank you very much for your answer. I still don't understand one thing.

You wrote in number 1. that intent gives are more flexibility and allow to have multiple target mapping which use the same intent. But in the point no. 2. you wrote that in case multiple target mappings with the same intent we can't guarantee which app will be executed?

So where is the flexibility if we can't really decide which app is going to be executed?

Best regards

M

0

Hi, M.

The flexibility would come as outlined in #3. You can assign the target mappings to different catalogs and those catalogs would be assigned to different roles. Then you would assign your users to the desired target mapping for their need but all users would have access to the same tile. As mentioned, it's not a common scenario but it's possible.

As always, if you have a business case for a feature change to the product, please be sure to discuss with your SAP account representative to potentially submit a feature request for future enhancements.

Thanks,

Keith

0

Hi Keith,

as you can see I already marked your answer as the correct one, but I have one further question. The scenario you just described would require to have separate catalogs for tiles and separate catalog for target mappings?

Best regards

Moho

0

Hi, Moho.

Yes, that's correct. You would want the generic tile in one catalog that was assigned to a role for all users. The target mappings would need to be in separate catalogs and each assigned to a separate role. This would allow you to assign the tile to all and the specific target mapping needed for a user based on their need.

Thanks,

Keith

0