cancel
Showing results for 
Search instead for 
Did you mean: 

How to display "Welcome Administrator" message on tool bar area?

former_member188632
Active Contributor
0 Kudos

Hello All,

My requirement is that i want to display the "Welcome clause" on portal tool area (i have changed the location of search filed to extreme right) instead of diaplaying it on Masthead??

I tried replacing the code that displayes this Welcome message from maasthear PAR file to tool area PAR file, but didnt work..Ay inputs on how can i do this? or is it at all possilble ??

Regards,

Ameya

View Entire Topic
Former Member
0 Kudos

Ameya,

Add this code in u r tool area

<%@ taglib uri="NavigationTagLibrary" prefix="nav" %>

<%@ taglib uri="FrameworkTagLibrary" prefix="frm" %>

Welcome

<nav:ifNotAnonymousUser>

<frm:userFirstName /> <frm:userLastName />

</nav:ifNotAnonymousUser>

<nav:ifAnonymousUser>

Guest

</nav:ifAnonymousUser>

In the portalapp.xml file add this to the between <component-profile></component-profile>

<property name="NavigationTagLibrary" value="/SERVICE/com.sap.portal.navigation.navigationtaglibrary/taglib/TagLibrary.tld"/>

<property name="FrameworkTagLibrary" value="/SERVICE/com.sap.portal.pagebuilder/taglib/framework.tld"/>

Regards,

Mr.Chowdary