cancel
Showing results for 
Search instead for 
Did you mean: 

change browser title of an Screen Personas Flavor in Fiori

Former Member
0 Kudos

Hello,

I've a problem with my Screen Personas flavor. I integrated these flavors in SAP Fiori (Start Personas Flavors from the Fiori Launchpad - SAP Imagineering - SCN Wiki).

This works really good. When I open a tile which refer to an flavor, the app is opened and everthing without one thing is fine.

The title of tab is always the same. It is always the "link-text" of the launchpad which I must configure in LPD_CUST. But in this Launchpad I created many different tiles for different flavors. I will not make one launchpad for one flavor.

Is there any solution to change the title of the tab dynamically?

You can read the title with a Personas script, but you are not authorized to write a new title.

Maybe there is a parameter to change the title, but I don't know.

Best Regards,

Thorsten

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Thorsten,

either of below should work if you add it as part of "onAfterRefresh" script of your flavor:

1. top.document.title = "Personas Flavor: "+session.info.flavorName;

2. session.findById("wnd[0]/titl").text = "Personas Flavor: "+session.info.flavorName;

onAfterRefresh because title has to be overwritten after each roundtrip.

Regards,

Sushant

Former Member
0 Kudos

Hi Sushant,

the first solution works very fine. Thanks for your help.

Regards,

Thorsten

Answers (0)