cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use Personas' icons as picture in a Flavor?

alexandreourth
Active Participant
0 Kudos

Hi,

Personas provides us a lot of standards icons when using script buttons. I like these icons so i want to use some of them as picture next to labels of my flavor !

Strangely, there seems to be no function in personas which can just add simply an icon on the flavor.

  • The workaround i have found is to create a script button, add the wanted icon and make the background of the button transparent.

Result is ok :

BUT, when my mouse goes over the icon i have this :

I can set the enabled button's property to false but then the icon is grey tinted :

=> UGLY

Does someone have a good solution for this situation please?

If there is no valid option, Personas' dev team should definitely add this feature.

PERSONAS 3.0 SP5

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

alexandreourth
Active Participant
0 Kudos

Edit :

I have found a trick! Above the button where my icon is displayed, i add a transparent button script (or a clickable area) in read only and finally, i group both controls.

==> Icon is displayed normally and the mouse doesn't change when i go over the icon. Problem solved!

Answers (2)

Answers (2)

Thomas_Mangler
Active Participant

Hi Alexandre,

try it like this:

> extract the icon from your browser. With the Chrome DevTools (Elements Tab) you can get the url.
> type this url in your Browser (server:port/url) and save the png file (right click).
> upload the png file to Screen Personas and use it

alexandreourth
Active Participant
0 Kudos

Hi Thomas,

Thanks a lot for your answer and your time. I already knew how to copy the icon and import it as picture in PERSONAS but it is not the thing i try to achieve. In a perfect world, I don't want to upload pictures when SAP already has the picture that i want even if it's an icon...Sadly, even by playing with advanced properties of the script button in which the icon is displayed, i couldn't find any solution to cancel the mouse modification in the "over event" AND at the same time, keep the icon displayed normally (pictures in my first message). Maybe I've missed something but i don't have more time to spend on this.

I'm closing the thread as i didn't found any solution to my problem.

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

An icon is an icon and not an image... icons can only be assigned to buttons.

With that said, you should be able to set the display properties of the button so the disabled properties match the enabled ones. Look at the Advanced Properties window for the button.

alexandreourth
Active Participant
0 Kudos

Hi Tamas,

Thanks for your answer. In theory, i would agree with you, in practice, to make screen looking better, we have to put there and there some pictures corresponding to a block of datas on the screen (makes the screen friendlier). When sap provides icons which match perfectly a group of datas on the screen, i don't want to reinvent the wheel and use these icons as...picture 🙂

=> You tell me it's not possible to insert icon as picture, ok i'll do with that.

So I'll try the other properties in advanced mode and try to find my way. I'll close the thread when i'm sure i can/can't do it.

Have a good day.