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.

Similar Messages

  • 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

  • Tab in Top Level Navigation is not highlighted when clicked on

    Hi guys,
    We have 1 problem in EP 6.0:
    I create 1 iview(testiview), and attached to the role(testrole), assigned to 1 user, then login with that user. In top level navigation, i am able to see the role(testrole) in top level navigation, but after i clicked, the tab for this role is not highlighted, but the content of iview is displayed,
    Any one knows what happened?
    Thanks!
    Guo Feng

    Hi Guo
    You have created one role and added one iView under it.
    now can u tell which one you made as entry point.
    if Role is the entry point are you getting the iView link in the DTN ?
    If you made iView as entry point and then you r getting the content in content area and the iView link in the top.
    i think the second one happens...
    Check the role and iView properties .
    Make the Role as entry point..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Problem with switching tabs in top level navigation

    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.
    Does anyone have any expericene with this type of problem?
    Best regards, Olof Trönnberg

    Hi George
    On startup of the role an iview was called which opened a gif file stored in the KM. This iview wasn't added to any page so I basically did just that; added it to a page. Now the problem seems to have gone away!
    Thanks!

  • Clear data bag, when change tab in top level navigation!?

    Hi, i had search the forum, but i don't find an answer!
    I have the following problem:
    We have to clear the client data bag (EPCM), when the user change the tab,
    but how can i do something, when the user change? Is there a event and i only must subscript on this event, or what can i do?
    I would be lucky with some ideas or a solution!
    Lars

    Hi Lars,
    IF u are using HTMLB tabstrip then there is event for tabitem change.
    For instance :
    <hbj:tabStrip
    id="myTabStrip1"
    bodyHeight="100"
    width="200"
    horizontalAlignment="CENTER"
    verticalAlignment="TOP"
    selection="3"
    tooltip="Tooltip for myTabStrip1"
    >
    <hbj:tabStripItem
    id="myTabStripItem1"
    index="1"
    height="80"
    width="160"
    onSelect="myTabStripItem1OnSelect"
    title="Tab 1"
    tooltip="My Tooltip for Tab 1"
    >
    <hbj:tabStripItemBody>
    <hbj:textView
    text="TextView on Tab 1"
    />
    </hbj:tabStripItemBody>
    </hbj:tabStripItem>
    <hbj:tabStripItem
    id="myTabStripItem2"
    index="2"
    height="80"
    width="160"
    onSelect="myTabStripItem2OnSelect"
    title="Tab 2"
    tooltip="My Tooltip for Tab 2"
    >
    <hbj:tabStripItemBody>
    <hbj:textView
    text="TextView on Tab 2"
    />
    </hbj:tabStripItemBody>
    </hbj:tabStripItem>
    So for the change in selection u can define an event and write your logic in this event handler in ur controller.
    check all the controls of tabstrip in below pdf
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a41cee4-0601-0010-5fb3-d8e704f88817">EP pdf</a>
    Thanks
    Swathi
    Do offer pts:-)

  • 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

  • Can we control the top level navigation in portal from a java application

    Hello,
    I am having a scenario where User logged in to portal and assigned with 2 roles (HOME , ISA(Java application)). When user opened a form in ISA (Java application) and tried to enter the data in form and moved to another tab (e.g. HOME) in top level navigation.
    When user come back to ISA (Java application) TAB , we show the page where he left earlier. I would like to know if user click any other TAB in top level navigation (Role assigned to him) while working on a page in ISA(Java application) is there any way we can catch that event before he leaves from ISA (Java application JSP page) to other TAB?
    How can we control the top level navigation events in the portal from a java application .Since Top level navigation is seperate par file.
    Thanks,
    RN

    Dear Rajesh,
    Top Level and detailed navigation values comes with iteration in the respective par file.
    Please check the par file and based on the value (i.e tab name) selected, you can write your code.
    Best Regards
    Arun Jaiswal

  • EP About top level navigation

    We are designing that many roles are assigned to one user.
    (about 7-8 roles per user)
    When many roles are assigned to the user, tabs in top level navigation bar can not be displayed without scroll horizontally.
    We want to display all roles at once, without scroll.
    To realize the above, roles must be displayed on 2 records
    in the one top level navigation bar.
    Is ther someone who knows whether top level navigation can
    be displayed at 2 records on a bar, or not.
    Any help or information would be appreciated.
    Thank you.
    Mizuka Aoyama
    SAP Japan Netweaver Consulting.

    Mizuka,
    first, you might want to reorganize your roles and possibly have a look at the "merging" feature.
    Next, you might change the portals theme to use a smaller font for the top level tabs.
    If both options are unsuitable, you can develop your own top level navigation component by writing some java code. Then you can make it look whatever you like to (and I mean it, it's extremely flexible, I did it early in the time of EP6 SP 0 ramp-up, but definitely takes some time).
    Regards,
    Dominik

  • Top Level Navigation and Web Page Composer

    Dear all,
    I've a Site on Web Page Composer, and on this I've many Web Pages, so I've generated a Site Navigation. The Site Navigation generate a Top Level Navigation entry (Portal Role with External Connector), in this case all pages are displayed on a single menu entry. I would like to separate the pages on some Top Level Navigation Entries, what is the recommended way to do it? Create the pages on separated Sites and generate Site Navigation for each on?
    To clarify I would like a menu structure like this:
    Info  (Top Level)
    Page1                        
    Page2                        
    Page5
    Customers (Top Level)
    Page 3
    Page 4
    Page 6
    Employees (Top Level)
    Page 7
    Page 8
    And just an one site with all pages on Web Page Composer.
    Best regards

    Hi,
    every Site Navigation creates only 1 navigation file that you can integrate into the users navigation.
    In your case:
    Role (PCD)
    Folder -> Info
    Folder -> Customers
    Folder -> Employees
    Create for every folder (that are entry points) in the role a web site in WPC.
    Ex:
    Web Site: Info
    Web Pages:
    Page1
    Page2
    Page5
    Create a site navigation and add the site navigation to your folder Info.
    br,
    Tobais

  • Show portal top level navigation in tab format to a tree fromat

    hi all,
    whn i assign roles to the portal they are displayed in the top level navigation in the tab format.''
    Inspite of showing it in the tab format i want to show it in left croner in the tree format
    >role1
            >attri1
            >attri2
    >role2
            >attri1
            >attri2
    Please help me in this...Awaiting for your response.

    Hi, you can change the Look & Feel of Portal.
    See link below to create a new Portal Desktop
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e549a890-0201-0010-3f8b-d3b852457ebd&overridelayout=true
    Regards,
    Edson Thomaz

  • How to hide Top Level Navigation?

    Hi,
    I created a quicklink for an iview.
    I am able to call the iview from IE window using the quicklink.
    But it displays the top level navigation (Company Logo, Welcome message, Logoff, Role tabs,...).
    How do I hide this?
    Thanks
    Sundar

    Hi Vinit,
    Your solution is working when I clicked the preview button in iview edit window.
    But when I try to open the iview using Quicklink with external IE window, it shows the MastHead, TLN.
    It is not hiding the MastHead and TLN.
    Thanks
    Sundar

  • 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 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

  • 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

  • Top level navigation repeat tab

    Hi Guys,
    Simple one here, just cant point my fingers to it. The top level navigation tab in my portal is repeating itsself. There are 1 additional set of tabs. HOw do i sort this out? thanks
    regards,
    johan

    For more information on Merging Navigation Nodes and Defining the Sequence, check:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm</a>
    Kind regards, Hilco

Maybe you are looking for