Display Icon/Image instead of Role name in top level navigation

Hi,
I want to display a image / icon instead of role name for a particular role. Can you please tell me how to achieve this ?
Thanks,
VP

Hi,
the thread is just for the background image (for all elements).
if you want to display icons instead of role names, you have to create your custom top level navigation using the
navigation taglib from SAP. There are lots of examples. make a blog search for Mr "Kannengiesser" from SAP.
In case you are using already an EHPx in your EP 7.0 the AJAX framework might have this feature.
Regards,
Kai

Similar Messages

  • Show a menu of roles in the Top Level Navigation

    Hello,
    Imagine a scenario where a user has many roles assigned to him (say 40 roles). In that case the user will have 40 tabs in the first level of the top level navigation and by default a horizontal scroller appears on the right part of the screen clicking on which the roles will scroll horizontally. If the user has to go to the 40th role he has to click quite a lot.
    Is it possible to have a menu option clciking on which we get the all the list of roles in the top level navigation in a vertical list and we can directly jump to any role clicking on the entry in the list ?
    Something like what we get in a tab strip in Web Dynpro.
    Thanks in advance for your valuable inputs.
    Sundeep
    Edited by: Sundeep Sethi on May 3, 2011 3:00 PM

    Hi,
    Yes it is possible to have menus as you wish .
    Look at the following links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6066b302-09c8-2a10-a894-eb9fef30df85
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a1aea5-a2d1-2a10-c6bc-953bdadfdcb8?QuickLink=index&overridelayout=true
    You need to work on navigation tag libraries to extend number of levels .
    The above inks helps you only for single level of navigation.
    Regards
    Karthiheyan M

  • How to hide name of Role from the top level navigation of the portal

    Hi Experts,
    In my project, I have created 2 roles Role A and Role B. These roles have been assigned to User X.
    When user X logs in, he is able to see name of role that is 'A' in the top level navigation.
    As per the requirement, user X should not see the 'A'.
    Rather user X should see following:
    Top Level Navigation: 'My Work'
    When user clicks on 'My Work', he should see
    'My Sub Work1' and 'My Sub Work2'.
    After that under 'My Sub Work1' user should see following
    All Objects of Role A
    All Objects of Role B
    Name of role i.e. 'A' or 'B' should not be displayed at all at any place in navigation.
    Only whatever objects  has been assigned to Role A and B should be displayed in detailed navigation area.
    Can you please let me know how to achieve this?
    Pictorial Diagram:
                      My Work       (In top level navigation)
    My Sub Work1    My Sub Work2    (In top level navigation)
    _________Objects of role
    A
           |
           |_________Objects of role
                                   B
    Please note that 'My  Work' and 'My Sub Work1' and 'My Sub Work2) are not roles. They are just the name of folders.
    Can you please let me know how to achieve it?
    Regards,
    Brian

    Hi Brian,
    Try the following steps.
    1. Change the 'Entry Point' property of Roles A and B to 'No'.
    2. Create a role folder called 'My Work' under A and B.
    3. Set the 'Entry point' property of this folder to 'Yes'.
    4. Set the 'merge id' property of the folder as "mywork" (or any other string) under both roles A and B.
    5. Under 'My Work' in Role A,
    a. Set the 'Merge Priority' property to 50.
    b. create subfolder 'My sub work1' and create all your objects.
    6. Under 'My Work' in Role B,
    a. Set the 'Merge Priority' property to 100.
    b. create subfolder 'My sub work2' and create all your objects.
    7. Make sure the user is assigned both the roles A and B. Only then he/she can see objects of both the roles.
    8. One thing to remember while merging folders is that, all the entities that are being merged should be at the same level. For eg: in our case, you cannot merge 'my subwork1' in role A, with 'my work' in role B.
    Reward points if helpful.
    Regards,
    Priya

  • Display a custom message on click of a Top Level Navigation Object

    Hi Experts,
    when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.
    Currently, on click of the top level navigation link a  workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.
    The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .
    It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).
    The goal is to warn the users before they they access the applications of the workset map.
    Can someone please guide me on this???
    Regards,
    Anurag

    Hi,
    See some info regarding Portal Eventing:
    http://help.sap.com/saphelp_nwce72/helpdata/en/a5/8d1e72c20f4db2b9f577b47c1a47da/content.htm
    In the link above you can see that it's possible to raise an event and subscribe to it.
    Each time you navigate in the portal, the portal raises the UpdateTLN event so all you need it to subscribe to it in an iview that is located on the same page.
    Since the masthead iview is in the same window (above the TLN - see the following link) you can put your javascript function in it.
    http://help.sap.com/saphelp_nw04/helpdata/EN/b4/771158e4cb4bf6af9974380948db86/content.htm
    Regards,
    Omri

  • Roles in top level navigation - display order

    Hi,
    how it is possible to define the order of display roles in the top level navigation?
    If I add roles to a user in user administration the system automatically sort the roles. In this order the roles appear in top level navigation.
    I want to define my own order. How is this possible?
    Thanks in advance.
    Regards
    Andreas

    HI
    it is absolutely possible using sort priority
    http://help.sap.com/saphelp_nw04/helpdata/en/92/3e703e632c7937e10000000a114084/frameset.htm
    but  keep in mind that it is valid for all user.
    Regards,
    Vijay.

  • Creating a dropdown for Roles in Top Level Navigation

    Hi,
    I am trying to customize the com.sap.portal.navigation.toplevel.par file.
    Can anybody please help me to create a dropdown for various roles in the portal,if the user clicks on the first role in the Top Level Navigation ,he should see a dropdown list with worksets of the role.
    Any help would be really appreciated
    Thanks
    Art Tech.

    Hello Art Tech,
    I hope I understand you right. You want to change the appearance of the custom built TLN according to the currently chosen portal theme, just like the standard TLN would change its appearance.
    Well, if so, then there are two ways:
    1) The HTML and styles/classes of your custom built TLN are still more or less the same as in the standard or you can at least reuse most of the standard HTML output/structure, then applying a new theme would also affect your custom TLN.
    2) You have your own HTML output for the TLN, not relying on anything from the standard TLN, and you most probably work with a custom stylesheet file (e.g. "tln.css"). What you have to do then is to provide a set of TLN stylesheet files for each portal theme you want to support and include it accordingly by retrieving the current theme's name via the ILafService (Look & Feel Service). Or you rely on only one CSS file, then have as many "blocks" of styles (marked with a preceding class selector like in e.g. ".themeNameA ul li a " and ".themeNameB ul li a ") as you have themes, and put a bracket around the TLN-output with class="currentThemeName". For this last approach I give you the sample code (assuming you want to support the themes "SAP Standard", "SAP Tradeshow" and "SAP Chrome"):
    The TLN code: tln.jsp
    &gt;<%@ taglib uri="NavigationTagLibrary" prefix="nav" %>
    &gt;<%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
    &gt;<%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>
    &gt;<%
    &gt;// include the TLN stylesheet
    &gt;response.include(componentRequest, componentRequest.getResource("css", "css/tln.css"));
    &gt;
    &gt;// retrieve the current theme's technical name
    &gt;ILAFService iLAFService = (ILAFService)PortalRuntime.getRuntimeResources().getService(ILAFService.KEY);
    &gt;String currentTheme = iLAFService.getCurrentTheme(componentRequest).getThemeName();
    &gt;%>
    &gt;
    &gt;&lt;div class="<%=currentTheme%>"&gt;
    &gt;  &lt;ul&gt;
    &gt;  <nav:iterateInitialNavNodes>
    &gt;    &lt;li&gt;<nav:navNodeAnchor navigationMethod="byURL" />
    &gt;    <!-- second level ? -->
    &gt;    &lt;/li&gt;
    &gt;  </nav:iterateInitialNavNodes>
    &gt;  &lt;/ul&gt;
    &gt;&lt;/div&gt;
    The stylesheet: tln.css
    &gt;.sap_standard ul li {background-color:#FFCCCC}
    &gt;.sap_standard ul li a
    &gt;
    &gt;.sap_tradeshow ul li {background-color:#CCCCFF}
    &gt;.sap_tradeshow ul li a
    &gt;
    &gt;.sap_chrome ul li {background-color:#CCCCCC}
    &gt;.sap_chrome ul li a
    I hope this solves your problems.
    Best regards,
    Sven Kannengiesser

  • Displaying Icons/Images in TextBoxes

    I'm searching for a TextBox Class which can display Icons / Images as well. This is possible with the JTextPane, but it's not possible to copy/paste icons. Is there an improvement of this class or a better solution available?

    http://blogs.adobe.com/aharui/2007/04/icons_in_combobox.html
    This didn't work for you?
    - Jason

  • How to Display Detailed navigation passing Top level navigation node name

    Hi All,
    I have prepared a DLN par file but unfortunatly my requirement is such that I need to pass one of the toplevel node name as input parameter and that should display the corresponding DLN which is from 3rd level.
    I have checked in sdn for passing a value to the navigation tag lib which will consider it as a selectednode but could find none.
    Can some body suggest me how to acheive this.
    Thanks in Advance.
    Sai Krishna. K

    Hi Kiran,
    Thanks for your Reply..
    Following is my Scenario:
    I use 2 same versions of portals connected via federated portal concept.
    I have my detailed navigation par file in portal2 and was calling it from portal1 from a iview.
    Since I am not physically navigating in portal2(which mean there is no selected node to iterate ), when I call that iview in portal1 it is picking up only 1st node in top level navigation.
    So i need to pass "My reports" (as 1st level) & "India" (as 2nd level) as parameters such that it gets only its DTN at all times from 3rd level.
    Hope you understand my scenario, below is my iteration code logic.
    <div id="myslidemenu" class="jqueryslidemenu">
    <ul>
         <nav:iterateSelectedNavNodesLevel level="<%=START_LEVEL%>">
         <%-- the 'currentDepth' attribute provides the byte value of the current level --%>
        <nav:recurseNavNodeChildren currentDepth="depth">
             <% current = start + depth.intValue() - 1; %>
             <%=writeClosingTags(last - current)%>
             <%
            last = current;
            %>
            <%-- we want to distinguish between folder and leaf nodes so we can use different graphics --%>
              <%-- complete the html syntax for the 'class' attribute pass it as an anchor attribute--%>
              <li><nav:navNodeAnchor navigationMethod="byURL" />
              <%-- checks for additional navigation level and the appropriate html tags to accomodate them --%>
            <nav:ifNextRecursionDepthWillIncrease>
                <ul>
            </nav:ifNextRecursionDepthWillIncrease>
            <nav:ifNextRecursionDepthWillNotChange>
                </li>
            </nav:ifNextRecursionDepthWillNotChange>
        </nav:recurseNavNodeChildren>
        <%=writeClosingTags(last - start)%>
        <% last = start; %>
    </nav:iterateSelectedNavNodesLevel>
    </ul>
    </div>
    As per the passing parameter concept please explain me a bit more clear with step by step procedure.
    <b>Here if not passing parameters, providing static values will also do for my requirement.</b>
    Many Thanks,
    Sai Krishna.
    Edited by: Konchada Sai Krishna on Feb 14, 2009 9:42 PM

  • How to display image in top level navigation

    Hi,
    how can i display an image in the top level navigation?
    (looks like the top level navigation of the SDN)
    Thanks,
    Norman

    Hello Norman,
    Please read through these forum links which also deal with customization of Portal 'Top Level Navigation'.
    Basically you need to download the required masthead.par and make the necessary changes as mentioned in the forum messages as belwo:
    [Customizing Top Level Navigation|https://forums.sdn.sap.com/thread.jspa?threadID=511530]
    [Customize Portal TLN|https://forums.sdn.sap.com/thread.jspa?threadID=1145007]
    Hope this helps.
    Regards,
    Shailesh

  • Top-Level Navigation Tab Image

    In the top-level navigation it allows you to assign background colors for the tab colors when selected or not selected. However, you can reference an image with a unique path in this field. So when the top-level navigation renders it displays an image, gradient for example instead of a background color. I did this a while back but cannot locate this information. If someone has done this before and can provide this information that would be great.
    --KAL

    I just tested it, and did not manage to make it work.
    I am in the Portal Outer Frame  > Top-Level Navigation > Unselected Tabs of First Level > Background Color of Unselected Tabs
    and this is the value I use :
    background:url(http://<host>:port/irj/go/km/docs/documents/SDN/my_image.png)
    Am I missing something ? Do I have to create a par file for this ?
    Edited by: Fabien REVOL on Aug 6, 2010 9:28 AM

  • Problem with switching tabs in top level navigation for Roles

    Hi,
    I've created two tabs (based on two roles) in the portal top level navigation menu. When clicking the first one it opens as it should. Then when clicking on the second tab it will not open, instead the first tab open up again, it sort of switches back automatically.These  two roles  are  basically consists of worksets and iviews(accessing to r/3).
    Does anyone have any expericene with this type of problem?
    please  suggest me
    Thanks
    Aravinda

    Hi Aravinda
    Please check this link
    Re: Problem with switching tabs in top level navigation
    Regards
    Geogi

  • Roles and Worksets are indicated several times in Top-level-navigation.

    Hallo Experts,
    I dont understand why the Roles and Worksets in the Top-level-navigation are displayed several times. How can I change that?
    Thank you very much
    regards,
    Galyna

    Hi,
    Which roles do you see several times?
    If it is the home tab than you might have assigned yourself for example, eu_role, eu_core_role and cc_role.
    If under the Home you see for example the Company, Work, Team... worksets twice than again you might have assigned yourself for example, eu_role, eu_core_role and cc_role.
    If these are administrative roles than might have assigned yourself these roles through multiple groups/roles assignments.
    If you will say exactly which roles/worksets you see several times we will be able to help more efficiently.
    Roy

  • Worksets to be displayed in Top Level Navigation

    Hi,
    I have created a role and assigned 5 worksets to the role...and assigned the role to user...i wanted the worksets to be displayed in Top Level Navigation and not the role ....can i do it....
    Rgds,
    P.Navakanth

    Hi Navakanth,
    1) Double click on the role and open -> Go to Property Category -> Navigation -> Select Entry Point = No
    2) Double click on each workset and open -> Go to Property Category -> Navigation -> Select Entry Point = Yes. In addition to this, if you want a particular sequence of worksets (tabs), then set the sort priority. Lower the sort priority, the first it comes in sequence.
    Hope that helps.
    Cheers,
    Sunil

  • Hide Top level navigation if user assigned only one role

    Hi,
    I would like to hide the top level navigation if user assigned with only one role.
    I can create role based rule to show desktop using Master rule collection, but is it possible by doing to with role count.
    If user has multiple roles show desktop1 else show desktop2

    not sure if this possible ,you may check feasibility of creating  a application which checks user role count and if role count is = 1 load the Portal url (URL alais) which had TLN iview invisible in the same window else do nothing and load the portal with the desktop which has tln.
    Put the application in framewrk page which has TLN visible.
    create a URL alias and create a desktop -framework page which dont have TLN ,assign this desktop to this URL alias in rule collection set its priority before user conditions check in rule collection so that it has high priority before user or group check in rule collection.
    you can create a poc in sandbox and check if it wiorks?

  • Show/Hide tabs in top level navigation of a role based on assigned services

    Hi,
    I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
    Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
    I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
    Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
    In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
    Regards,
    Sumeet

    Please refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
    What i meant was that you can do a custom TLN like this
    [http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
    Seems to me java/jsp is more appropriate than doing it via WDA.
    ANother way that you might look into this is Application integrator which again java programming effort needed.

Maybe you are looking for

  • BI Publisher : SELECT statement in RTF template

    Hi Guys I have written a BI Publisher Report using XML file created from Oracle Reports(in Oracle Apps). Repors runs from Oracle Apps perfectly ok. Now I need to fetch some data from couple of tables and display on the Report. I am wondering whether

  • Problem with photos in iWeb

    When I import a photo into my iWeb page, it does not scroll with the text, it stays at the same place on the page. Every time I add more text, I have to move the photos. When I select the text it does not select the photo as well. When I upload the p

  • Saving songs on iPod without syncing w/ iTunes

    I have songs that I want to keep on the iPod that are not in the iTunes. I had the iPod set for syncing, but now I don't want it to sync. How do I set the iPod for manual mode without losing the songs that will be lost when I hook up the iPod? The sy

  • EXSQL_DSQL_NOROLL-DP Background job not working as part of chain

    Hi, While running a background job as part of process chain, I am getting the error message which says: ABAP/4 PROCESSOR: EXSQL_DSQL_NOROLL Job Cancelled. When run in the foreground in the interactive planning, it is running fine. Please let me know

  • Can I embed other editor in xtext editor?

    Hi All, My usecase is I want mix the other script language into my Dsl, for example javascript, groovy or java. So I want embed the javascript editor in to Xtext editor. Is it possible?