cancel
Showing results for 
Search instead for 
Did you mean: 

FLP: Dynamic Tile without number

0 Kudos

Hello everyone,

At a client I made a dynamic tile for a custom Fiori application.

This tile needs to be dynamic because the subtitle has to vary from user to user (business requirement).

Here's my problem:

When I don't pass a 'number' property with my oData Service, or simply keep the property initial, 3 dots appear on the tile.

I tried putting a space into the 'number'-property, but this results in it showing as a '0' instead, which is even worse than the three dots...

I also tried putting a single character in it ('R' or 'F'), but it still showed the three dots.

Is there any way to get rid of these dots? Or in worst case scenario, at least fill it with a single character?

Kind Regards,

Glenn De Groote

Accepted Solutions (0)

Answers (2)

Answers (2)

naas_duplessis2
Participant
0 Kudos

Hi

I have a similar requirement. Were you able to get a work-around?

Naas

Former Member
0 Kudos

such a stupid solution proposed by SAP 😃

I also look for workaround now,

0 Kudos

What do you mean?

What's the solution proposed by SAP?

Regards,

Glenn

Former Member
0 Kudos

I mean it's hardcoded , Glenn

You can find the code in sap.ushell.components.tiles.utils.getDataToDisplay

in the line where display_number_value is defined.

What I'm going to do now is to create a laucnhpad plugin where i will redefine this function with own one calling original function first then removing dots.

I have to say not to brake the standard code you have to check oConfig first - i.e. there is a semantic object inside and you can do this only for your tiles.