cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove "Add to Browser Favorites" in the page title bar

Former Member
0 Kudos

Who can help me? How can I remove "Add to Browser Favorites" in the page title bar.

This is no setting in the page customization.

Is this a global setting in the KM?

Thanks Sybille

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Sybille,

here it comes:

Decompile <i>com.sapportals.portal.navigation.PageToolbar</i> within <i>com.sap.portal.navigation.pagetoolbarcore.jar</i> within <i>...irj ootWEB-INFportalportalappscom.sap.portal.navigation.pagetoolbarprivatelib</i> and delete line 365 (<i>optionsMenu.addMenuItem(itemFavorite)</i>; or 339-365).

Compile and replace or create a new portalapp with complete new namespaces to be patch resistant and use this new PageToolbar iView.

Hope it helps

Detlev

PS: This is the <i>solution</i>, knick-knack, as well as it has been the <i>solution</i> in ...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sybille,

> Who can help me?

It's me again, I guess!

>How can I remove "Add to Browser Favorites" in the page >title bar.

> This is no setting in the page customization.

Actually this context menu is in the "pageToolbar"-iView and not in the page customization. You will find the iView "com.sap.portal.pageToolbar" in the Portal Framework Page in use.

Just edit this iView and change the Property "Show 'Add to Browser Favorites' Option" to "No".

Hope this helps +

many greetings,

Robert

Former Member
0 Kudos

Hi Sybille,

it's me again!

Unfortunately this feature was introduced with SP3, so for SP2 the only thing you can do by customizing is to remove the "pageToolbar"-iView from the Portal Inner Page, or to set "Show 'Personalize'" to "No" on each Page used. Of course, by that you will also loose the other options like "Refresh", "Open in new window" and "Personalize".

I'm sure Detlev can provide you the info on how to change the com.sap.portal.navigation.pagetoolbar.par in order to remove only "Add to (Browser) Favorites"!

Hope this helps,

Robert

detlev_beutner
Active Contributor
0 Kudos

Hi Robert & Sybille,

--> tomorrow.

Best regards,

Detlev