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

Similar Messages

  • 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

  • Detailed navigation panel doesn't show the link

    Hi,
    I created a role and I put an existing workset in it (delta link) but I removed 3 iviews out of 4 from the workset.
    When I check the same workset in another role I see 4 links for 4 ivews in detailed navigation panel.
    However I don't see any link in my new role's detailed navigation panel for the ivew.
    I compared all the properties settings and saw no difference. Does anybody know how do i see my iview in detailed navigational panel?
    I appreciate any help with points,
    Regards

    Hi Mike,
    Newrole1 : New Role that you created.
    Workset1: Existing workset
    iv1    existing iviews for the workset.
    iv2
    iv3
    iv4
    But you have only iv4 assigned to your NewRole1 that you created( delta linking the workset1 and removing 3 iviews)
    But the iv4 does not exist under your role?
    You can try checking the permissions on this iview.
    Also, did you try checking with a different user being assigned the role or the same user using the exisiting workset.
    Regards,
    Sandeep Tudumu

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

  • PDK iviews refresh the Portal's detailed navigation

    Hi All,
    When a postback occurs in my PDK iviews, both the iview and the detailed navigation are refreshed.
    Is it supposed to be like that?
    Is there a way to prevent it?
    (It doesn't happen with Web Dynpro iviews for example)
    Thanks,
    Omri

    Hi Omri,
    One of the properties of an iView is Isolation Method.
    If this property is set to URL the iView will be rendered into it's own iFrame and not to the page one.
    But this will disable the server side eventing between portal components, so take that into consideration.
    Regards,
    Tsachi

  • Navigate Detailed Navigation Programmatically

    I have a custom iView done as a DynPage.  I want to based on some input navigate to an iView as if they clicked the menus under detailed navigation.
    For example.  If in my iView they selected JavaDocs I would want it to show the Java docs as if they clicked on <b>Developer -> Java Development -> Documentation -> Javadocs</b>
    or if they selected another value, it would take them to content Administrator as if they selected <b>Content Administrator -> Documents</b>
    I am probably not explaining this as best as someone with more experience would so please ask for more input if needed.

    Hi Eric,
          The following modification to your code should solve your problem.
    package testapp;
    import com.sapportals.htmlb.DropdownListBox;
    import com.sapportals.htmlb.Form;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    public class NavigationExample extends PageProcessorComponent
         public DynPage getPage()
              return new NavigationExampleDynPage();
         public static class NavigationExampleDynPage extends DynPage
              private String selectionText = "";
              private int state = 0;
              public void doInitialization()
              public void doProcessAfterInput() throws PageException
                   DropdownListBox myListBox = (DropdownListBox)getComponentByName("ddl");
                   selectionText = myListBox.getSelection();
              public void doProcessBeforeOutput() throws PageException
                   Form myForm = this.getForm();
                   IPortalComponentRequest request =
                        (IPortalComponentRequest) getRequest();
                   DropdownListBox ddl = new DropdownListBox("ddl");
                   ddl.addItem("javadocs", "javadocs");
                   ddl.addItem("downloads", "downloads");
                   if (!selectionText.equals(""))
                    ddl.setSelection(selectionText);
                   ddl.setOnSelect("ddl_Select");
                   if(state == 1)
                        if(selectionText.equals("javadocs"))
                             myForm.addRawText("<script>EPCM.doNavigate('ROLES://portal_content/com.sap.pct/developercontent/portaldevelopmentkit/iViews/com.sap.portal.pdk.Javadocs');</script>");
                        else if(selectionText.equals("downloads"))
                             myForm.addRawText("<script>EPCM.doNavigate('ROLES://pcd:portal_content/com.sap.pct/developercontent/portaldevelopmentkit/iViews/com.sap.portal.pdk.Downloads');</script>");
                   myForm.addComponent(ddl);
              public void ddl_Select(Event event) throws PageException
                   state = 1;
    regards,
    Prakash
    PS: Please close the thread if the problem is resolved.

  • 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

  • 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

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

  • 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

Maybe you are looking for

  • Hide Toolbar and Value help drop downlist

    Hi, I created a IF with a Value help drop down list. I also make use of the Hide Toolbar options. The drop down list has an input like: key - text (eg. 0001 - Holiday) The pdfMode is "UpdateDataInPdf". When i run my wd everything works fine. What i w

  • Bdoc validation error- BP replication CRM to R/3

    Hi, We are trying to replicate BP from CRM to R/3 after creating the BP with all required fields excluding sales area with classification Customer the BP flows to R/3 but on checking in Smw01 a bdoc is found in error state with the following errors:

  • Get  current date and time

    hello. How can I get current date and time in JAVA? Thanks.

  • How can I share ownership of a calendar on iCloud?

    We are using iCloud on a small network and would like to share ownership of a calendar so multiple people can send invites?  Is this possible?

  • 10.5.6 problems

    Sorry, I know there have been many posts on this subject, but I can't find a workable solution for me. Since I accepted the 10.5.6 update, I have problems: - Won't wake after sleeping for a few hours - Sometimes won't restart at the first attempt - S