Implementing a dynamic navigation

I want to include dynamic a navigation structure under a specific role into the navigation of the portal. The navigation structure should consist of an XML file. The link should opened in the mittle of the portal (content area).

Hi Mario ,
  Two steps are involved here in implementing dynamic navigation which is role based .
  1)  Creation :   Right click on the Iview/Page  where  you can find one properties name as Dynamic navigation open it and assign any iview that you wish to see in the left navigation panel
  2) Assign :  Now you assign the above created iviews to the role .
  Hope this will be your result .
Thanks  & Regards ,
Ravi

Similar Messages

  • Dynamic navigation structure

    Hi all,
    I want to implement a dynamic navigation structure that displays navigation nodes depending on the status of the user in the backend system.
    The scenario is as follows:
    - user gets access rights via roles and profiles in backend system
    - each user is assigned to a business partner in the backend system
    - each business partner is in a specified phase (the phase of a business partner can change over time)
    - a table in the backend system contains the mapping: phase - visible navigation structure
    -> in the portal the user should see only these navigation nodes, that are set to visible in the mapping table, all other navigation nodes are hidden
    Is it possible to implement such a behaviour?
    I'm running EP 6.0 and CRM 5.0 as backend system.
    Thanks in advance.
    Kind Regards,
    Martina

    Hi Martina,
    Filtering out roles and worksets can be done by implementing a role filter, for details see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/code-samples/filtering%20role%20and%20workset%20content.htm and https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5021a57d-0601-0010-6097-ec94a09c626d for example.
    > in the portal the user should see only these navigation nodes,
    > that are set to visible in the mapping table, all other navigation nodes are hidden
    Of course, these nodes must be a subset of the navigation nodes the user has per role assignment.
    Hope it helps
    Detlev

  • WDA dynamic navigation

    Hello everyone
    I am currently creating a componet for displaying detailed information for diffentent plants.
    On the leftside i have an ALV-List of different plants and right an Info-Component displaying detailed information for the selected plant. The Info-Component contains a Tab-Strip which is dynamicly created in dependence of the selected plant.
    I have many different Info-Item-Components (basic_data, measurements, packing_details, addition_notes, etc.) which all implement the same Interface (all of them are Info_Items) and a customizing that defines which of these components are relevant for a specific plant.
    If a plant is selected, my Info-Component determines the relevant Info-Item-Components for the plant, creates component usages for the Info-Item-Components and creates a Tab with a view-Container for each ComponentUsage. If there are no InfoItems defined for a Plant a default Tab ist displayed.
    Examle:
    Plant A selected -> Tab_Strip with 2 Tabs which contain the components (basic_data and measurements);
    Plant B selected -> Tab Strip shows only one Tab (packingdetails)
    Plant C selected -> Tab_Strip with 4 Tabs which contain the components (basic_data, measurements,  packing_details, ...)
    My problem is the following:
    The Interfacecontroller of my Info-Component has a method init_for_plan, in which i determine all relevant InfoItems for the plant and create the component usages.
    The WDDOMODYFIEVIEW-Method of the only view (V_MAIN) creates the corresponding tabs and view_container of the tabstrip and prepares the dynamic navigation links to the embedded components.
    But I can't navigate along the created navigation links in the WDDOMODYFIYVIEW (Link: [WDA Phasemodel|http://help.sap.com/saphelp_nwpi71/helpdata/de/49/b8c706c7c26d7ce10000000a421937/content.htm]) and i can't do the navigation in the Componentcontroller because there i can't get a to the necessary controller; also navigation after WDDOMODYFIYVIEW is not possible, is it?(WDDOPOSTPROCESSING)
    Where do I have to embed the dynamicly created component useages into there corresponding view_containers to display them correctly?
    Kind regards
    Markus

    When you click on Plant,
    As there is a default tab already avaiable, in the WDOINIT of view or before Modifyview create the component usage of the componet that needs to be displayed in 1st/default tab and fire the plug. also create teh number of tabs required in modiyfview when 1st component is embdedded.
    In the TAB click event, embded the respective component (do_dynamic_navigation ) and fire the plug in tab click event.

  • EP6: Dynamic Navigation - Eventing

    Hi everybody,
    I want to navigate to the same page/iView from my dynamic navigation nodes (which implement INavigationConnectorNode). The dynamic navigation shows a list of customers. Clicking on one of them should show the same page/iView, obviously for different customer ids.
    Trying the simple approach to append the parameters ("....?customerid=4711") to the launchURL does not work.
    I assume the whole concept works differently: do I have to implement getPRTEvent() (or maybe getJScript() or ..) to parameterize my navigation event ?
    I cannot find any info on that subject, so I'd be really grateful for ideas and hints.
    Cheers,
    Heiko

    Hi Altafin,
    thanks for your reply, unfortunately this does not work: you assume that I build an iView and thus can control the HTML output. What I do, though, is to dynamically build a navigation structure (not in an iView but in a Navigation Connector). There I only have a couple of fields I can set, most notably the "launchURL". The standard Portal Navigation Service takes my data structure, merges it and forwards it to the (standard) detail navigation iView.
    In the meantime I have been able to solve it (actually thanks to Sven Kannengiesser): I put the following into my launchURL:
    "/irj/servlet/prt/portal/prtroot/<escaped pcd url>?myparam=4711"
    where the escaped pcd url looks something like
    "pcd!3aportal_content!2fmyfolder!2f .... !2fmypage"
    That works fine.
    Cheers,
    Heiko

  • Error while dynamic Navigation for BP Account Overview

    Hi,
      I have created a custom search, result component which is working fine. On the Partner number I have provide the hyperlink to navigate with Dynamic navigation, but I am getting the below error when I clcik on partner number.
    Selection and result
    Now when I clcik on BP
    Code which I have written in event handler
       method EH_ONPARTNER_CLICKED.
    "navigate to Account overview
       DATA: lr_entity        TYPE REF TO cl_crm_bol_entity,
             lv_index        TYPE i,
             lv_guid         TYPE crmt_object_guid,
             lv_objectid     TYPE crmt_object_id,
             lr_core         TYPE REF TO cl_crm_bol_core,
             lr_entity_bt    TYPE REF TO cl_crm_bol_entity,
             lr_nav_descr    TYPE REF TO if_bol_bo_property_access,
             lr_navigation   TYPE REF TO if_crm_ui_navigation_service,
             lr_col          TYPE REF TO cl_crm_bol_bo_col,
             lv_partner_guid type crmt_genil_object_guid.
    * Let's get current row info
      CALL METHOD cl_thtmlb_util=>get_event_info
        EXPORTING
          iv_event = htmlb_event_ex
        IMPORTING
          ev_index = lv_index.
      CHECK lv_index IS NOT INITIAL.
    * Get entity for the current row
      CLEAR: lv_guid.
      lr_entity ?= typed_context->SEARCHRESULTNODE->collection_wrapper->find( iv_index = lv_index ).
      IF lr_entity IS BOUND.
        lv_objectid = lr_entity->get_property_as_string( iv_attr_name = 'PARTNER' ).
      ENDIF.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_objectid
        IMPORTING
          output = lv_objectid.
       CHECK LV_OBJECTID IS NOT INITIAL.
      select single partner_guid from but000 into lv_partner_guid where partner = LV_OBJECTID.
    *     Get the BOL Core Instance
      lr_core ?= cl_crm_bol_core=>get_instance( ).
    * get the BuilHeader object
      lr_entity_bt = lr_core->GET_ROOT_ENTITY( iv_object_name = 'BuilHeader' iv_object_guid = lv_partner_guid ).
    * add the Builheader to the collection
      create object lr_col.
      lr_col->if_bol_bo_col~add( iv_entity = lr_entity_bt
                                 iv_set_focus = abap_true ).
    cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
               exporting
                         iv_ui_object_type   = 'BP_ACCOUNT'
                         iv_ui_object_action = 'B'
               receiving rr_result           = lr_nav_descr ).
      lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
    * check if navigation is possible
      if lr_navigation->is_dynamic_nav_supported( ir_descriptor_object = lr_nav_descr ) = abap_true.
        lr_col->if_bol_bo_col~insert( iv_bo    = lr_nav_descr
                                    iv_index = 1 ).
    *   start the navigation
        lr_navigation->navigate_dynamically( iv_data_collection = lr_col ).
      endif.
    endmethod.

    Hi ,
    Try this.
    Root entity you no need to take for this.
    cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
               exporting
                         iv_ui_object_type   = 'BP_ACCOUNT'
                         iv_ui_object_action = 'B'
                         iv_entity_key_name = 'BP_GUID'
                         iv_entity_key_value = lv_bp_guid
               receiving rr_result           = lr_nav_descr ),
      lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
    * check if navigation is possible
      if lr_navigation->is_dynamic_nav_supported( ir_descriptor_object = lr_nav_descr ) = abap_true.
        lr_col->if_bol_bo_col~insert( iv_bo    = lr_nav_descr
                                    iv_index = 1 ).
    *   start the navigation
        lr_navigation->navigate_dynamically( iv_data_collection = lr_col ).
      endif.
    Regards,
    Deepika

  • Portal Runtime Error in Dynamic Navigation Area

    Hello gurus,
    In our production portal all of sudden we are getting a portal runtime error in Dynamic Navigation Area.  Earlier there was a problem with one of the clustered nodes and it was resolved.  I was wondering if this error is in connection with that.  Has anybody faced such problem?  Following is the error we are facing in the dynamic navigation area.
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/fenderfolder/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.dynamicNavigationArea
    Component Name : com.sap.portal.navigation.dynnavarea.DynamicNavigationArea</b>
    Please advice on how to resolve the issue. 
    Thanks in advance.
    VR.

    Hello all again,
    We are not getting this Dynamic Navigation Error on ONE of the clustered nodes and all other clustered nodes are working fine. 
    Any idea how to resolve the issue?
    Thanks in advance.
    VR.

  • WD Java iView & Dynamic Navigation Problem

    Hi,
    I'm trying to use a WebDynpro Java iView in Dynamic Navigation but have the following display problem:
    When I navigate to the page for which I've added the iView to the dynamic navigation, only the WebDynpro iView (from the navigation) is shown. You can see the page in its correct form being loaded but as soon as the navigation iView seems to be loaded/ing it replaces the full lower part of the screen (navigation and content panel).
    If I use a plain URL iView in the dynamic navigation the behaviour is as expected.
    But if I add a WebDynpro iView or even a page containing that iView I get the strange behaviour again.
    I'm running NW04s SP7.
    Any ideas?
    Do I have to set some properties on the WebDynpro iView?
    I've tried a couple of things but none did work so far.
    Thanks & Regards
    Markus

    Hi Henrik,
    Sorry for the late reply but I'm just back from vacation.
    No, I have not found a solution. I decided to go for an integrated application instead (Main WD application that bundles navigation with other applications). That works but of course is not as "nice".
    Have you come across some solution yet?
    Kind Regards
    Markus

  • Implementing a dynamic dropdown list

    Hi All,
    I am implementing an Adaptive RFC model that uses two custom RFC's. First RFC returns a table that has list of countries and the second RFC returns a table that lists the states of a particular country.
    Now using these two RFC's how do I implement a dynamic dropdown...i mean the first dropdown should show the list of countries and the second dropdown should show the list of states depending on the country selected.
    Thanks,
    Tom

    Hi Tom,
    Please try this,
    IWDNodeInfo multiplenode = multipleinfo.addChild("MultiNode" , null, true, false, true, true, false, true, null, null, null);
    multiplenode.addAttribute("roles", "ddic:com.sap.dictionary.string");
    Assign values for Dropdown
    IWDNode node1 = wdContext.nodeNodeA().getChildNode("MultiNode", IWDNode.NO_SELECTION);
    IWDNodeElement elem1;
    for(int s=0;s<5;s++){
    elem1 = node1.createElement();
    elem1.setAttributeValue("roles","Value"+s);
    node1.addElement(elem1);
    Inside Domodifyview create IWDDropDownByIndex UI Element and Bind it.
    IWDDropDownByIndex dropDownList = (IWDDropDownByIndex)view.createElement(IWDDropDownByIndex.class, "drop");
    IWDAttributeInfo info = wdContext.getNodeInfo().getChild("NodeA").getChild("MultiNode").getAttribute("roles");
    dropDownList.bindTexts(info);
    dropDownList.setWidth("100");
    Regards,
    Ramganesan K.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • Employee Search in Dynamic Navigation does not update other iViews (FPM)

    Hi all,
    after selecting a person from Employee Search (MSS) we have to display corresponding data in a customer specific iView with help of selected person number.
    So I created a Floorplan Manager Application as described in https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/how-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29&
    If I use the SAP content page or create my own pages with corresponding Employee Search and customer specific iView, updating of data on the customer specific iView works. But if I add the Employee Search to Dynamic Navigation, the data is not updated in the customer specific iView.
    I didn´t find a solution in this forum. Does anybody know, if it is possible to add the Employee Search as Dynamic Navigation (with help of Floorplan Manager functionality) and update data in other iViews and how this works? Or is it possible to handle this in a different way, e.g. PortalEventing?
    Thanks,
    Thomas

    Hi,
    I also tried to use only iViews of 'General Information'  and added the employee search (team viewer) of the sap
    content page 'General Information' to the dynamic navigation, but the other SAP standard iViews of 'General Information' page are not updated, too.
    Does anybody know, if it is possible to add the employee search to dynamic navigation and to update the other iViews of 'General Information'? If yes, what properties have to be set? Are some settings for Floorplan Manager
    needed?
    Could anybody please give me a hint?
    Thanks,
    Thomas

  • Dynamic Navigation in Interaction History

    Hi,
    When I navigate to Interaction History in CRM 2007, I am able to fetch various interaction records. Where as I am not able to open an individual interaction record from the result window. When I double click to oepn the record I am getting the error message "Dynamic Navigation to this object is not supported".
    Please let me know the settings to be done to overcome this.
    With kind regards,
    Shankar
    Edited by: Shankar Nagarajan on Aug 27, 2008 11:43 AM
    Edited by: Shankar Nagarajan on Sep 9, 2008 3:51 PM

    Please read this 2 topics:
    Recent Items
    Dynamic Navigation Is Not Supported By This Object Error
    May be this help you.

  • Understanding Dynamic Navigation iview.....

    In MSS, I have the following workset in my role...
    ->Team (workset)
       ---+ Team (webdynpro proxy page)
       ---+ Employee information (folder)
       ---+ Employee Working Time (folder)
       etc....
    The "Team webdynpro proxy page" has an iview ,"Services", assigned in "Dynamic Navigation" but there is nothing particular about that iView itself. However, all folders (and their contents) below the Team webdynpro proxy page appear in the Dynamic Navigation panel (like "Employee information" and "Employee Working Time"). I do not understand the connection between the dynamic navigation iview and how all folders in that workset know to display in that dynamic navigation area. There seems to be no explicit assignment. How does that work?
    edit: a bit more info....the "Services" iview is part of the Common Parts business package and based off the "related services" iview template. Still not sure how it "knows" to display the objects below that page that has it assigned as dynamic nav.

    Did you blog about this solution?  If so could you direct me to the blog?  We need to add numerous links to outside URLs in Related links.  I need to order them somewhat differently than alphabetically.
    Thank you,
    D. Maupin
    University of Kentucky

  • Dynamic Navigation iView ordering

    Hi,
    We have a problem with ordering iViews in the Dynamic Navigation of pages. We had this issue during SP11 and SAP was upposed to fix this in SP16. We have upgraded to SP16 now. Just want to confirm that this problem is not solved yet (atleast not using the sort priority).
    Also, are there any workarounds to acheive this?
    Nirav

    Hi Nirav,
    Have a look at Configuring the Sorting of Dynamic Navigation iViews:
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/76bd3b57743b09e10000000a11402f/frameset.htm
    Let me know if it helps, 
    Cheers
    Jim

  • Dynamic navigation

    dynamic navigation
    Posted: Aug 29, 2005 3:03 PM        Reply      E-mail this post 
    Hi
    I have an iview from BW that generates links to reports. I associated this iview to a page as a dynamic navigation link.
    When I click on the link, it does not load the content in the portal content area. I tried _self, _top, _parent as the targets in the BW web template.
    How can I get the content loaded in the portal content area? What is the name of the portal content area frame?
    Thanks
    Sriram

    Hi Sriram,
            I confronted with the same issue as yours but then i did the following.......
    Presuming that two iviews are already created i.e.
        1.Navigation Panel iview with links (left)
        2.different iviews associated to the links.
    Now,
         >>Open the other iviews and select Dynamic navigation in the context menu.
         >>Right click on the navigation panel iview having the links and select "Add to Dynamic Navigation"
    In the first iview for the link the code i gave is
    <a href="link2" class="urLnk" onclick="return EPCM.doNavigate('ROLES://portal_content/xyz/Pages/sampleiview')">Link to Project Plan</a>
    No need of the parent,self,.....etc.
    Hope this helps.
    regards,
    Joshua Kiran

  • Dynamic Navigation in ES

    Has anyone tried to add dynamic navigation to ESS page? My issue is after I click the links on the page to launch the service (e.g. Working Time: Record Working Time Service), dynamic navigation is lost.  Please suggest.  Thanks,
    Rong

    Hello again,
    thanks for your support. It was all my fault that the dynamic navigation didn't work. I've already added the Dynamic Navigation iView to the Framework-Page, but forgot that I made objects invisible by default for that specific container that I added the DN iView to. So making contents visible for this container worked.
    Anyway, Karsten's link might be very helpful for future Layouts. But for this specific layout the customer explicitly wanted the old default framework behavior for the dynamic navigation.
    @Detlev Knowing where to find that code is very good. Actually it's not that self-explanatory and I didn't find out how the DN works in the AFP, but thank you anyway. We've never worked with the AFP before and maybe I didn't phrase my question clear enough. Maybe that's why none of the colleagues I've asked were able to answer my question.
    Regards,
    René

Maybe you are looking for