cancel
Showing results for 
Search instead for 
Did you mean: 

Personas - replacing an image assigned in multiple flavors

Former Member
0 Kudos

Hi All,

I have created several flavors using the same image uploaded to the same action button (e.g. I have replaced the SAP standard back button with one of my own).

We now want to change the image, but don't want to go into every flavor to reassign it. Is there a way we can globally change the image? I can't just delete and upload a new image with the same name as it creates a separate entry in table /PERSOS/MEDIA.

Thanks in advance.


Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

There doesn't seem to be an easy way to do a mass change in this scenario, since it appears you were changing the individual Back buttons on each screen in your flavors.

If you want to change the back button in general in all your flavors, then it's best to do this using the Profile Wide Settings in the admin transaction. There, you could have specified a certain icon for the BACK BUTTON control, and this can be assigned to a user group (or even all users if the group is the global group), so it's only done once. By doing this, the icon is easily replaceable because you only have to change the Icon ID at the same place.

Unfortunately this won't work in your case because you already defined a custom icon for the back button in your flavors and this will not be overridden by the Profile Wide Settings defined later. So I'm afraid there is no other way than going though the flavors... but then you can take advantage of the Profile Wide Settings to avoid such a problem later

Former Member
0 Kudos

Thanks for everyone's input into this. Much appreciated.

regards,

Ernest

Answers (1)

Answers (1)

yuki_wang
Active Participant
0 Kudos

Hello Ernest,

You can maintain picture in media file maintenance and then use it in flavor, after that the global change is possible.

Go to /persos/admin_ui, media file maintenance.

But for the existing pictures which are not maintained in admin_ui, you will have to change it one by one.

Hope the information is helpful.

Best regards,
Yuki

Former Member
0 Kudos

Hi Yuki,

Thanks for your quick reply.

Firstly, in /persos/admin_ui > General Actions > Media File Maintenance, I seem to be only able to create images (Media URL: sap/public/personas_images/xxxx), rather than icons (sap/public/personas_icons/xxxx), which means i can't select these when replacing the SAP icons. Is that correct? I can upload them in the flavor and then go back to mark them as Global. Are you able to upload both kinds of pictures?

Secondly, what I meant by my question was that we have a particular image/icon we have used in a flavor, but now we want to change the image/icon to something else. I want to avoid having to go into each individual flavor to update the image/icon to the new one.

In /persos/admin_ui, I have tried to delete the original and replace it with one with the same name, but it creates a new URL, so when i go back into the flavor, the image/icon doesn't update (and is now blank as I have deleted the original)

e.g.

OriginalMedia: backbutton

Media URL:     sap/public/personas_images/024C6CBCAA5D1ED49EEC7C9B1231234

New Media:     backbutton

Media URL:     sap/public/personas_images/024C6CBCAA5D1ED49EECCCC4DAB24567

Do you know if there's a way around this?

thanks,

Ernest

former_member189842
Participant
0 Kudos

- Do it at your own risk -

1) Export your flavor from admin ui.

2) change the extension of the exported file to zip

3) open with winzip and go to media folder

4) replace the image with new image, change the name to the same name

5) import flavor

You can experiment this way didn't do it all the way though.

Former Member
0 Kudos

Hi Bhaskar,

It might be easier to change the individual flavors online, rather than downloading and changing that way, but thanks for the suggestion.

regards,
Ernest

yuki_wang
Active Participant
0 Kudos

Ernest,

As I have mentioned, for the existing flavors, the newly maintained media file will not take effect, you

have to change it one by one. You can make media file global among the flavors after you have created the media file. See below url:

http://help.sap.com/saphelp_personas200_silverlight/helpdata/en/26/5fa899c7894878aefd0c4dd3f958de/co...

Best regards,
Yuki


former_member189842
Participant
0 Kudos

The procedure I explained comes handy when an image is used multiple times in the flavor and you want to change it. Nevertheless its always better to change it from flavor editor