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?

Similar Messages

  • 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

  • How make the Top-level Navigation and Content Area in one page as a whole?

    I want to make the Top-level Navigation and the Content Area in the one page as a whole displayed in user interface.In the default framework,the Top-level Navigation and the Content Area were contained  in 2 pages, So the vertical scroll bar could only control the Content Area. I want to control the full page with  one vertical bar like the page of "www.sdn.sap.com" Web.

    Hi Jianguo,
    One advantage of the external facing portal solution (SP14) is that the framework page is displayed in a single frame. Perhaps this could be of use to you.
    Hope this helps.
    Daniel

  • Tool Tip for Top Level Navigation - EP6SP2?

    Hi,
    Is it possible to provide tool tip for top level navigation.
    We have only one level TLN and Detail Navigation. On mouse over of TLN objects is it possible to provide tool tip?
    Thanks.

    Hi Raja,
    as Pankaj stated, the NavTagLib is the answer - but: it needs the LightFrameworkPage. And both together at the moment for example doesn't support Collaboration, means, if you click on some room, bang, error messages and nothing does work as expected.
    If you don't need CollRooms, you might give it a try.
    In addition, you can check out the "Hover effect", see http://help.sap.com/saphelp_nw04/helpdata/en/53/a16a3e54a2e946e10000000a114084/frameset.htm - it's probably not really what you want, I just want to point to that possibility (working within the standard framework page) for a complete overview.
    The last possibility is to modify com.sap.portal.navigation.toplevel; the TLN entries are rendered through toplevelnavigation.js, methods printLevel/printLevel1Table/printLevel2Table.
    Hope it helps
    Detlev

  • Top Level Navigation - Design bar borders

    SAP EP 6.0 SP9 on NW04
    We're using the top level navigation iview (TLN) out-of-the box and have configured the look and feel of TLN using the Theme Editor so that it follows the customer's corporate identity.
    However, we cannot remove the two white vertical borders around the design bar in top level navigation or change the color to the same color as the top level navigation. It is only possible for us to change the background color of the design bar but not the color of the design bar border. The marketing department thinks this is a huge issue, which must be fixed.
    We're almost certain that the problem cannot be solved by configuring the Theme Editor.
    Does anybody know whether it is easy to modify the code or css files to change the white borders of the design bar? Any idea of what is the best approach?
    Best regards
    Peter
    Can

    Hi,
    I have similar problem but there is no "Display of Design Bar Container" option in the Top Level Navigation section of the Theme editor.
    Thanks,
    MM

  • Changing Top Level Navigation

    Hi,
    The top level navigation is always displayed as TAB. Is there any way that we can change this to appear as tree level navigation.
    If yes what are the steps required >?
    <b>*To be delivered asap*
    Cheers,
    *RAJ*</b>

    Hi,
    Thanks for the time being mah colleage got a solution. Created 2 dummy roles  test1, test 2 . Assigned Test1 to Test2, and assigned other roles to those Test2.
    Went to default frame work  set Tool Area, Top-Level Navigation invisible.
    Now the other roles that have been assigned to test role 2 appear on detail navigation as a tree.
    Not recommended but works ;).
    Thanks again.
    <b>Cheers,
    *RAJ*</b>

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

  • 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

  • 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

  • A problem Configuring Top-Level Navigation

    hi, when i change the property of the Number of Display Levels in the Top-Level Navigation
    (as shown in http://help.sap.com/saphelp_nw04/helpdata/en/5a/33befa45ca7f459b24d0c5d51d0749/frameset.htm)
    I set to 0 and then hide the top-level navigation, i forget set the Detailed Navigation property level to 1
    and now i dont have any access to the configuration menu and i cant do nothing,
    can i change the Detailed Navigation set to 1 manualy outside the portal?
    may be changing any configuration file?
    thanks
    Message was edited by: Jose Rubí
    Message was edited by: Jose Rubí

    Hi,
    We have faced a similar problem earlier, one of the developers changed the property to 0. Luckily for us, one of the user id has got Content Administrator as the first tab, so we could change the iview template and got the TLN. Check this option.
    The following is a theoritical idea only, i have not implemented this
    Download "com.sap.portal.navigation.toplevel.par.bak" and change the code. Check out this link
    https://help.sap.com/saphelp_nw04/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm
    You have to change the code as
    levels=2;
    before this line
    if(levels>0)
    { %>
    Take a backup of the existing TLN par and upload the edited one with the same name. Then try login and see whether you are able to get the contents, update the property back to 2.
    Note : try to upload the necessary jar files in NWDS.

  • How to avoid multiple top level navigation nodes ?

    Dear portal experts,
    If a user is assigned to multiple portal roles, which contain partially the same worksets, the user gets these worksets doubled in the top level navigation.
    Can this be avoided ? The portal should check the user roles and show each workset only once.
    Thanks,
    Johannes

    Hi,
    you have to set Merge ID attribute to the worksets.
    Regards,
    Ladislav

  • Top Level Navigation jumps to wrong workset

    Hi,
    In our portal (SP15), rather than loading the first page/iview of each workset in the top level navigation, we wanted a starter page that said something like 'click a menu item to continue'. To achieve this, I created the relevant URL iview and added it (delta-link) to each workset that appeared in the TLN. I then changed the properties of the iview so that it was Invisible in the Navigation AND Default Entry for Folder. So now when you click on a TLN node, the iview appears but doesn't show in the menu.
    However, this has created some strange behaviour. Once a node on the TLN has been selected that points to proper page or iview (i.e. one that appears in the navigation), if you then click on any workset on the second level (first level ones are ok), the TLN "jumps" back to the node which has the page/iview - but still shows the starter page iview. This means that users can't access any workset on the second level, except the first one to be displayed (i.e. when you have several nested worksets in a workset).
    Can anyone explain why this is happening? The problem only occurs when the starter iview is both Invisible in the Navigation AND Default Entry for the Folder. Is this expected behaviour (and if so, why?) or is it a bug? Is there another way to achieve what we want?
    Many thanks
    Jane

    If I do that, the iview does not appear because I already have an Entry Point above that level (i.e. the Workset). Entry Point as Yes only sets the initial navigation node, it doesn't force an iview to appear. (or at least this is what my testing has shown).
    We may have to rethink how we can do this - does anyone know of a way to stop the first iview/page loading in every TLN node, and instead just showing the portal background?
    Many thanks
    Jane

  • How to start Top-Level Navigation on Level two?

    Hi,
    does anyone known a trick how i can start the top-level navigation at Level two?
    I make an own frameworkpage and try to set it in the iview properties, but there is not an property for this. it is only for the detailed-navigation iView there.
    For what:
    I need this, because i would open an pop-up with an other portal window. I link to the popup with navigation-target=... In this pop-up should only be the content of one role. This folder i have set to "invisible in the navigation area". So the User always see him in a popup. when i start at the default Top-navigation level 1, the user see all the other navigation folders.
    Best regards,
    Patrick

    Hi Patrick,
    up to SPS13, this needs some hands on on different parts of the TLN. What I've done this spring was showing all top-level nav targets within a select box in the masthead and then, after having selected one of these entries, the TLN shows just the content of this top level entry. So this is more or less the same. As said, some work to do.
    As of SPS14, with the new navigation taglib, I expect this to be much less work; anyhow, I didn't convert the results into SPS14, so I cannot say if this is really as easy as I expect.
    Hope it helps
    Detlev

  • 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

  • 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

Maybe you are looking for

  • How do I name a group of photos in new Photos app?

    I have always used the Batch Change command in iPhoto to rename several photos of the same subject all at once, so I can easily locate them later. This command has disappeared. Is there some kind of workaround?  I really really need this feature, or

  • Accessing Oracle Lite on Palm

    How can I access throught JDBC in a Oracle Lite database running on Palm?

  • No audio on certain tracks

    Hi, I just upgraded from FCP 6 to 7. I'm editing a project that has 40 audio tracks and since I upgraded, certain tracks aren't playing and there doesn't seem to be any rhyme or reason to it to me (though I'm getting activity in the audio meters). An

  • Rotate Net and Bus names

    1. Is there a way to rotate the net names and/or bus names to follow the wire if it runs vertically? The command shift/R does not work. (Version 10.1 Power Pro). 2. Can the names be placed off grid? There is no reason to snap a name to the grid. Ther

  • Function module for Create service order with reference to sales doc (RAS )

    Hi All, I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order). I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its w