WPC detailed navigation Roles

Hi,
I have created few roles and used them in detailed navigation in my WPC site. In the home page, i have made a Home role and linked all the other roles to this Home role. So in the home page, i get all the roles in detailed navigation. Now when i click on each of roles, i get the folders/content in that role. But my requrement is that i need to get only contents in  therole i clicked and all others roles should not be visible.

Hi,
isn't that the same as in this thread:
https://forums.sdn.sap.com/thread.jspa?threadID=1184583&tstart=0
in all cases this fully belongs to the portal navigation logic (and the way the navigation tree is displayed). So some custom logic that makes use of portal navigation service API will do the job IMHO.
best,
--epexpert

Similar Messages

  • Expanding WPC detailed navigation nodes

    I'd very much like for our Web page composer navigation nodes in the detailed navigation to expand on load. Preferably I would like to have the option to expand all nodes.
    For me it doesn't even seem to work to use the new functionality of the detailed navigation iview where you can set the first node to expand on load. This works if the first node is a work set but not if it's a folder pointing to a WPC navigation structure.
    Any tips?
    Regards
    Henning Strand

    Jagadeesh,
    the detailed navigation (and everything that belongs to the framework page) is under responsibility of the Portal. The Web Page Composer tool is just managing the pages not how they are shown in the Portal environment. Therefore WPC  should not be blamed for lack of this specific functionality.
    What you want can be achieved by means of some custom code in the framework. You could create your own detailed navigation iview which following some logic determines which pages need navigation tree shown and which not. Writing such an iview is not trivial effort you may also try to insert some logic (iview) in the framework page which removes the detail navigation iview from the POM tree but I am not really sure if that will work or not.
    Hope this gives some more light.
    Best,
    --epexpert

  • Filtering roles in Detailed Navigation PDK

    Hi all,
    We have developed detailed navigation PDK for a site say Site1; I have another site say Site2.
    The two sites are linked to different desktops using URL aliasing. These two sites(dektops) have their own set of roles.
    A user has acces to both the roles and also has WPC editor role. When he goes to Site1, drag and drops the Detailed Navigation PDK component to a page, he is seeing the roles associated to Site2. Can we restrict the roles displayed in Detailed navigation based on the filter ID? ( here I am talking about default WPC role without any URL aliasing)
    Hope I explained the scenario clearly, if not please ask.
    Regards,
    JK

    Have u tried checking this
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/17968de1-0a01-0010-1f9f-c090fbc7001a

  • Detail Navigation missing when i link a web page in the WPC Scenario

    Hi to all.
    I had publish WPC site with the External Connector method.
    I have some Web Pages linked in the Navigation Structure, when i link one of this from a internal link (for example in a List link or other) I displayed the page and the detail navigation is visible and the focus on the destination page is light.
    Well, when I try to link a Web Page that not is linked in the Navigation structure (open it in the same page) the Navigation structure is missing.
    Why? How i can leave the NAvigation structure and display the page?
    Many thanks for your help in advance.

    Hi,
    this scenario is not supported by WPC. I think it was written somewhere (in a note or so). The problem is that if a page is not included in the navigation structure there is no navigation node associated. And so link to that page does not contain NavigationTarget therefore it does not trigger a real portal navigation but just displays the page in the iframe in which it has been fired. That means if you are using the standard framework page (i.e. with frames) page is shown in the inner most frame and the rest is untouched (side effect from which is that the TLN is not updated) and if you are using the light framework page after click the page is shown on the whole window as there are no iframes.
    May be you would be able to work around this by selecting such page to be opened in pop up window. Other options exist but they are more complicated as solutions.
    Hope that helps.
    regards,
    --epexpert

  • Expand all folders in the detailed navigation by default on click of Role

    Hi All,
    I have a requirement on expand all the folders in the detailed navigation by defalut when we click a Role in the Fist level navigation.
    Please have a look about our requirement as mentioned below.
    ->Role1(First Level Navigation)
       ->Wokset1(Second Level)
           -> Folder1(Detailed Navigation entry Folder)
                  -> Folder2
                       Page1
                       Page2
                  ->Folder3
                       Page3
                       Page4
                  -> Folder4
                       Page5
                       Page6
    When the user clicks on Role1 then automatically all the folders in the detailed navigation should be expanded by default then user could see all the pages displayed in all folders. currently the functionality is collapsed all the folders by default in the detailed navigation then user has to expand the folders manually.
    Regading this issue, i had seen couple of threads on the same but getting confusion what is the exact solution for the solution.
    in those existing threads some people has mentioned that need to change code in the lightdetailnavigation.par or some other mentioned that it is not worked out even do the required changes in the code of light detail navigation part file. there is no clarity in the existing threads for getting  the exact solution . please let me know what are the properties needs to be changed at folder level or workset level to make sure all the folders should be expanded by default in the detailed navigation??
    Currently we are using portal 7.0 version.
    Any pointers in this regard would be the great help to us??
    Thanks in advance.
    Regards,
    PortalUser
    Edited by: PortalUser100 on Jan 22, 2011 10:15 AM

    Hi,
    To expand all the folder by default, we need to set the property of the detailed navigation tree.
    Open your framework page in the content administration.
    Check on the detailed navigation check box and click on the properties button.
    In the properties, set the value of initial state= OPEN .
    This will expand all the folders by default.
    Hope you understood.
    Regards
    Nishant

  • Hide detailed navigation and Portal favorites windows for some roles?

    Hi ,
    We want to hide Detailed Navigation Area and Portal favorites area for some specific  roles.
    Thanks & Regards,
    Subba Rao

    Hi,
    1. You have to create a seperate desktop.
    2.  Inside the desktop, the framework which you are assigning will contain Desktop innerpage, Masthead and Top level navigation page.
    3. You need to copy the desktop inner page and paste with different name (since it is a standard page)
    4. Now open the custom desktop inner page and remove the iviews what ever you dont want.
    5. So now your framework page will not have the detailed navigation anymore.
    6. Then we need to set master rule collection to load this desktop for a specific role using if... then  condition.
    Finally the role will have only which ever the iviews you have selected in desktop inner page.
    Thanks,
    Mahendran B.

  • I  want to hide the detailed navigation and portal favorites

    Hello:
        Every person in SDN!
        I find another problem in WPC.
        I create a WPC role called A.After I preview this role,I  want to hide the detailed navigation and portal favorites.
        but I don't know how to do?
        Who can help me?
        lexian
       Thanks a lot!

    hi,
    you can do using default frame work page.
    1.go in portal_content/portal_users/standard_portal_users
    2.open default frame work page unclick the top_level_navigation
    then you wont be able to see TLN
    jayesh talreja

  • SAP Web Page Composer: Detailed Navigation is not getting built

    Hello!
    I am new at this forum. At first I´d like to say hello to everybody! :]
    Our issue concerns the following:
    We started to work mit the Web Page Composer to build websites für our workers. Everything worked fine until the detailed WPC-navigation is not getting built anymore. We have this issue after a portal restart. Every steps to build and publish a website were done the right way.
    1. Publish navigation und paste it to the external connector of the role in the form "wpcnavigation:///wpcontent..."
    2. Permissions and security zones were set. Even the super admin is not able to see the detaild navigation anymore.
    It is still possible to put single webpages to iViews and then to display them in the portal. And every function of the Web Page Composer works fine. The caches are deactivated. I tried to build a new site with new pages and a new navigation but there is the same problem, no detailed navigation is shown in the portal navigation. The role is assigned to a user and he can see the role at the top navigation but when clicking on it no detailed navigation appears, just a blank page.
    As I mentioned this iusse appears after a portal restart. What could be the problem?
    Thank you in advance!
    Best regards
    Georg

    Hello Sandeep!
    I created a new role and also did the Initial Configurations but it still does not work. May be there is a problem with the external connector where I connect the WPC navigation with the portal navigation? I know it sounds confusing but is there may be a way I could "reset" the WPC configuration? Because at the moment I tried to merge roles the system saved "some configuration" and started to avoid displaying the detailed navigation. So if could delete/reset/change this configuration, it could be that the navigation will be displayed again? I do not unterstand, if I just use one role and so avoid merging roles it just should work again? Or I am on the wrong way? Hopefully I am not telling bull**** right now! :]
    At this moment our system running SAP NetWeaver 7.00 SP18. The patch is only available at least SAP NetWeaver 7.00 SP20. We are probably going to upgrade in october to SAP NetWeaver 7.00 SP23 and then we can update the WPC, too. Our Basis said, I have to wait till october. Before this upgrade no updates will be done.
    Thanks for your help so far!
    Kind regards!
    Georg
    Edited by: GBrauer on Aug 30, 2011 9:21 AM

  • Links in detailed navigation

    how do i add new links in the detailed navigation section? is it added in workset or page?

    Hi Arun,
    The Hierarchy of Portal object is iview, Page, workset, role. You can view application once the role is assigned to the user. If the entry point is role, role and workset appears in the Top Level Navigation (TLN) and the rest of the hierarchy appears in Detailed Level Navigation. Usually the no of items in TLN is 2. We can change it to 1,2 or 3 depending on the requirement and the rest if any will appear in the DLN. So we cannot say which object appears in the DLN.
    Also there is concept of Workset within Workset, Page within Page. It all depends how the object is packaged.
    Have a look at this documentation
    http://help.sap.com/saphelp_nw04/helpdata/EN/47/3f703e632c7937e10000000a114084/content.htm
    Regards,
    Ganesh N

  • How to put a web link in the detailed navigation

    How can you put a web link in the detailed navigation?
    I know that if your role contains iviews that are 3 levels down (default), then the link to the iview will appear in the detailed navigation. But, I want to put a link to a external site in the detailed navigation - is this possible?
    Thanks
    Patrick

    I have a page set with a url iview and it opens from the detailed navigation in a  new window fine.
    however when clicking on a link to the page via a landing page which displays the KM content page folders, it loads it in the portal active window still (with nav and masthead).
    Any ideas how to get the km link to open in a new browser window?
    thanks
    Message was edited by:
            Alex McKnight

  • How to disable automatic loading of iView/Page in detailed navigation?

    Hello,
    We've upgraded our portal 7.0 from SP9 to SP12.
    I've noticed that SAP have added this change: Whenever a user is navigating between one role/tab to another in the top level navigation the first folder at the detailed navigation is automatically opened and the first content there is automatically loaded.
    I would like to disable this option - I've looked at the new properties that have been added to the detailed navigation iView between SP9 and SP12 and could only find these two: Display Parent of Hidden Node and Open Folder When Launched.
    These two are not solving this problem and they are disabled anyway.
    Any ideas...?
    Roy

    Roy,
    Role and Workset Hierarchy:
    Folders F1 and F2 (Roles) are defined as entry points and therefore appear on the first level of the top level navigation bar. What happen is when we click F1 (Role), the underlying folders F1a and F1b (Worksets) appear on the second level. On click on F1a the first entry F1a (Workset) of the second level is activated and its contents (iViews) are displayed in the detail navigation and the contents of the iView is displayed in the portal page of the content area.
    And same procedure happens with F2 role on the first level of the top level navigation bar. When we click on the F2 (Role) the underlying folders F2a and F2b (Worksets) appear on the second level of the top level navigation bar. On click on F2a the first entry F2a (Workset) of the second level is activated and its contents (iViews) are displayed in the detail navigation and the contents of the iView is displayed in the portal page of the content area.
    I think need to configure levels of TLN which includes top level navigation, detail navigation and content area and then need to define the entry points.
    Below are the links for configuring levels of TLN and right below it you will find link for define entry point:
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/33befa45ca7f459b24d0c5d51d0749/frameset.htm
    Hope this time it helps you.
    Thanks
    Mona

  • How can I add an iView to the Detailed Navigation itself

    How can I add an iView to the Detailed Navigation itself and hides the other hyperlinks?

    To add an iview on the Detailed navigation side of a page:
    1.Double click the page which brings up the page editor.
    2.Click the Display dropdown box and choose Dynamic Navigation.
    3.Add an ivew to it.Save and add the page to a role to see the results.
    if this is not u wanted, post back here.
    Regards.

  • Different links in the detailed navigation, based on URL alias

    <u>What I'm trying to do :</u>
    Based on URL aliases /irj/portal/individual or /irj/portal/business
    I will dynamically add an UME group to the already logged in user.
    <u>Filter :</u>
    If clicking on /irj/portal/individual I will store "group=individual" in the context, and add UME group individual, if clicking /irj/portal/business I will store "group=business" in the context, and add UME group business and remove individual, and then redirect to the same URL.
    <u>Configuration</u>
    Each UME group has a one-to-one mapping to a Portal role.
    I will place an ACL on the PCD content, based on group, hiding/showing aggregated folders, hanging under the roles.
    <u>Wanted end-result</u>
    Different links in the detailed navigation, based on URL alias.
    <b>My question is how you would implement the filter part, mentioned above ?</b>
    Portal app or J2EE servlet filter or something else ?

    Hi sunil,
       Create a JSPDynPage component(C) having 2 hbj:link whose hrefs point to these 2 iViews(A and B). U can get the href of the iView by previewing it(for A and B). Create an iview from the par component (C) and add it to the DLN so that it shows the links to ur iViews(A and B). U can make the Show Tray property of this iView (C) to false.
    Regards,
    Harini S

  • Javascript error for detailed navigation tree : 't' is undefined

    Hi everybody,
    I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error :
    Error :  't' is undefined.
    Code :  0
    URL :  http://localhost:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false
    Could somebody help me please ?

    Sorry but it's the same result.
    Anybody else?
    Somebody could say me if i modify the parameter of the URL somewhere?
    http://portal:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false&windowId=WID1182328037651
    I talk about the parameter buildTree or NavPathUpdate.
    These parameters are added when ai click on the link of the tree.

  • Expand folders in Detail Navigation by default

    Has anyone figured out a way to have the folders in details navigation expanded by default the first time the user clicks on the tab? 
    I tried this:
    Expand all folders in the detailed navigation by default on click of Role
    But it didn't work for me.  I have seen other claims that it can be set desktop wide, but no solution.
    Any help would be much appreciated.
    Clark

    Prathamesh,
    First of all thanks so much for your suggestion.  It would have worked perfectly if I was using the lightweight version of the detail navigation.  But is did lead me to download the code for the detail navigation tree par file and I found some interesting things. 
    First of all this should work by changing a parameter on the iview according to the code I found.  See the code below (particularly the set state line). 
        private void openFolder(IPortalComponentRequest request, HashMap dropJScriptsMap, ITree tree, INavigationNode node, ITreeNode treeNode)
            if(treeNode == null)
                return;
            IPortalComponentContext componentContext = request.getComponentContext();
            IPortalComponentProfile profile = componentContext.getProfile();
            Boolean leafNode = null;
            try
                leafNode = (Boolean)node.getAttributeValue("com.sap.portal.navigation.IsLeaf");
                if(leafNode == null)
                    leafNode = Boolean.FALSE;
            catch(NoSuchAttributeException ex)
                leafNode = Boolean.FALSE;
            String openFolder = profile.getProperty("com.sap.portal.navigation.detailedtree.openfolder");
            if(openFolder.equals("true") && leafNode != Boolean.TRUE)
                treeNode.setState("o");
                addNavNodeChildrenToTree(request, tree, node, dropJScriptsMap, true);
    But it only looks to work if the folder is at the top level.  Otherwise it rights children as closed.  See the line for setState in method addNavigationNodesToTree.
                if(newNode.getVisualizationType() == 2)
                    if(parentNode != null)
                        treeNode = tree.addNode(nodeName, title, "F", parentNode);
                    else
                        treeNode = tree.addRoot(nodeName, title, "F");
                    treeNode.setState("c");
                    treeNode.setFolderOpenImage(mm_folderImageUrl);
                    treeNode.setFolderCloseImage(mm_folderImageUrl);
                } else
    So I really have 2 options.  I can redeploy new code with the line just above changed (I didn't plan on modifying the SAP delivered), or I can move my nodes up to a higher level and change the parameters on the iview.
    I hope others might find this useful and perhaps SAP will adopt another iview parameter in the future to completely allow for this as it seems pretty trivial.
    Thanks again.
    ACD

Maybe you are looking for

  • DBCA error ORA-01034 oracle not available on Windows server 2008 r2 64

    Hi All, I have installed oracle 11.2.0.1 on my system having OS Windows server 2008. Then after that through DBCA i was creating the database during that i got ORA-01034 oracle not available. if any body know how to resolve it please reply me. Thanks

  • Sync iphone 4s to new Macbook Pro

    How can I sync my iphone 4s to a new macbook pro without loosing anything The macbook i was syncing with had a hard drive crash.  I lost everything

  • Gmail won't open in Safari

    I have a bookmark of Gmail in my bookmarks bar and for the past 2 days, when I click on it to check my email I get a message saying: "Bad request Error 400" I don't know why it won't open Gmail, I tried it in Firefox and it works What should I do? Th

  • Scanning with java

    Hi there, I am collecting some advice and suggestions for using java with scanner. I was previously using a scanning program to handle survey results.... but there are HEAPS of trouble of that program(and I paid for that program). I am thinking of wr

  • Exchange Database full backup

    I can see there is a automated backup for exchange databases. Can we change the schedule ? Its running on busy production time which i need to change ? Have anyone try this ? How to change/view or modify ? UMESH DEUJA MCP,MCTS,MCSA,CCNA