Dynamic Navigation Tabs

I am trying to create a navigation scheme consisting of tabs to static communities. However, I want it to only display the tabs that the current user is a member of. I notice that m_model.GetPageSpecificMethods() contains a GetMyCommunities() function which says it returns a list of communities that the user is a member of. I was wondering how I manipulate the entries in the ICPListEntryIterator object it returns soI can check whether to display a community link based on if that community is in that list.

send me and email with your email address and I will send my .net sln file and .cs files on how I am creating a navigataion for manditory communities. Mind that it is not finished. But it works....
Michael Bruce
[email protected]

Similar Messages

  • Creating page Navigation without using Dynamic Navigation

    Hi,
    I have a requirement that i need to create few pages where each page will have navigation tabs at the left side and corresponding iviews at the right. Navigation will not  be dynamic but static in nature that means target for the navigation link will not be decided dynamically but will be static. Each tab on the navigation will be linked to a page which will be opened in the same content area. Since there is no dynamic navigation so that's why there is no application present to be used for creating dynamic navigation iview. Please suggest what else can be option to create this sort of page.
    Best Regards,
    Vikash

    Hi,
    If you want your tab on the left instead of the top you need to change the defaultframeworkpage. If some users need to have the navigation on top and some on the left you need to make a custom layout for these users so that only these users have your modified frameworkpage.
    Of course you can not mix tabs on the left and tabs on top. If you want something like that then you`ll need to make a custom html page with tabs on the left pointing to standard portal locations.
    Hope this helps.

  • Dynamic Navigation opens in new window

    I currently have an KM Navigation iView assigned to Dynamic Navigation of a page.  Clicking on internal links in the Navigation iView opens in a new window.  Is there any way to configure the KM Navigation iView (assigned to Dynamic Navigation) to display in the Portal content area instead of opening in a separate window?

    If you're using Safari, choose Preferences from the Safari menu, click on Tabs, and change the setting.
    (53516)

  • Dynamically build URLS  for dynamic navigation

    hello all, I am trying to develop dynamic navigation for pl/sql portlets in oracle portal 10g. When admins place the portlets i develop on pages or tabs, etc, i would like to be able to query the database for there location(what page or tab its assigned to) dynamically so i can build links that would allow linking from portlet to portlet no matter where the admin placed them in the Portal. So my question is, what table or tables list the page_id or tab_id for portlets when they are added to a region on page or tab???

    The Content Area Views describe the information that you can access from PL/SQL.
    Peter

  • Override default view with dynamic navigation

    Hi,
    I have an URL parameter, based on what I do a dynamic navigation
    wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation()
    in the WINDOW DEFAULT inbound plug.
    However the navigation is overridden by what is set as a default view in the WINDOW tab.
    I tried
          lr_window_controller = wd_this->wd_get_api( )->get_embedding_window_ctlr( ).
           lr_rr_window = lr_window_controller->get_window_info( ).
           lr_view_usage = lr_rr_window->get_view_usage( 'MAIN_USAGE_0' ).
           lr_view_cnt_assignment = lr_view_usage->get_view_cnt_assignment( 'FUNC_VCA_1' ).
           lr_view_cnt_assignment->set_default_view_usage( 'NOTDEFAULTVIEW_USAGE_1' ).
    but not helping, still the default view is appearing. FUNC_VCA_1 in the above code is a view_container, I am trying to set a view active inside that view container.
    Any ideas?
    Thanks!

    Guys, there are some confusions here. Take the following case:
    1) Embed both COMP_A/VIEW_A and COMP_B/VIEW_B into a view container, and set COMP_A/VIEW_A as default
    2) Create a navigation between outbound plug TO_VIEW_B and inbound plug COMP_B/VIEW_B default plug
    3) In WINDOW default, based on a parameter wd_this->fire_to_view_b_plg( ).
    This works, COMP_B/VIEW_B is visible!
    Now remove the navigation link, remove COMP_B/VIEW_B from the window and enter the following code in the handlefeault:
          wd_assist->m_akt_comp_usage = wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation(
               source_window_name        = 'WINDOW'
               source_vusage_name        = 'MAIN_USAGE_0'
               source_plug_name          = 'TO_VIEW_B'
    *          plug_parameters           = lt_params
               target_component_name     = 'Z_WD_COMP_B'
               target_component_usage    = 'COMP_B_USAGE_1'
               target_view_name          = 'WINDOW'
               target_plug_name          = 'DEFAULT'
               target_embedding_position = 'MAIN/VIEWCONTAINER'
    NWhile I do get back the navigation link and inside do_dynamic_navigation there is a code to create the component and fire the plug, COMP_B/VIEW_B is not showing. Also please note, that if I do that on a button click it works. The problem is only inside handle default method.
    Thanks!

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

  • 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

  • IWeb Navigation Tabs Not Working

    Hi,
    I just posted my webpage to my school network folder... and the navigation tabs on the "About Me" page are not working.. they work on every other page. I thought maybe it was the page, so I deleted it and created a whole new "About Me" page and ran into the same problem. The site is http://people.clemson.edu/~lindsaa/GenEd_ePortfolio/HomePage.html

    Bonjour
    The notebook image was too high. You had to lower it (15 pixels down).
    I see you changed your template. An advice : use only one template for all the pages of your website

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • How to enable Navigation tab in PDF

    Hi,
    Can any one help me on this.
    I have nearly 100 PDF document. When I open the PDF,  the pdf should opened with Bookmark  view.
    I found this option under Document Properties --> Initial View --> Navigation tab  (Bookmarks Panel and Page).
    But i need to automate this task for all pdfs as Action list. can anyone help me to write a code for this.
    Thanks,
    Gopal

    Thanks Gilad.
    But I am unable to find this optin under Document processing.
    I am using Acrobat 9 Pro version.
    Please help me on this.
    Thanks,
    Gopal

  • Windows 8.0 taskbar properties navigation tab not displayed in windows 8.0

    When I click on taskbar properties it does not display a navigation tab in my windows 8.0 notebook like it does in my desktop 8.1 system. How do I get Windows 8.0 to display the taskbar properties navigation tab?

    Hi,
    Win8 taskbar properties doesn’t have the navigation tab, win8.1 add the new tab, what actions did you want to perform? Maybe we can to achieve it by other solutions.
    Regards,
    Yolanda
    Yolanda
    TechNet Community Support

  • How to set field length in Dynamic IT tab

    Hi All,
                 I am creating 1 dynamic internal table with refrence of field catalog, but in the dynamic IT tab and work area i am gettinf field length is 10 char.
    But i want to change this into 15 or 20 char like this....  how can i change this
    Please help me .
    DATA: ep_tab TYPE REF TO data,
          new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE table,
                   <l_line>  TYPE ANY.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          I_STYLE_TABLE   = c_char
          it_fieldcatalog = it_fieldcatalog
          I_LENGTH_IN_BYTE = ' '
        IMPORTING
          ep_table        = ep_tab.
      ASSIGN ep_tab->* TO <l_table>.
      CREATE DATA new_line LIKE LINE OF <l_table>.
      ASSIGN new_line->* TO <l_line>.
    This is my code.
    Regards,
    Arjun.

    Hi,
    try this
    ** ALV DECALRATION
    DATA : wa_lvc_cat TYPE lvc_s_fcat,
           gt_lvc_cat TYPE lvc_t_fcat.
    DATA : wa_fieldcat TYPE slis_fieldcat_alv,
           gt_fieldcat TYPE slis_t_fieldcat_alv.
    DATA : wa_slis_layout TYPE slis_layout_alv.
    PERFORM create_dynamic_itab.         " Fill fieldcatlog and create dynamic itab
    *&      Form  CREATE_DYNAMIC_ITAB
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM create_dynamic_itab .
      CLEAR g_pos .
      PERFORM fill_gt_lvc_cat_fld USING 'MATNR' 18 .  "fieldname outputlen.
      PERFORM fill_gt_fieldcat_field USING c_x 'MATNR'  'CHAR' 18   text-006.
      PERFORM fill_gt_lvc_cat_fld USING 'CODE' 40 .
      PERFORM fill_gt_fieldcat_field USING ' ' 'CODE'  'CHAR' 40  text-024.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_lvc_cat
        IMPORTING
          ep_table        = new_table.
    ENDFORM.                    " CREATE_DYNAMIC_ITAB
    *&      Form  FILL_gt_lvc_cat_FLD
    *       text
    *      -->P_0006   text
    *      -->P_18     text
    FORM fill_gt_lvc_cat_fld  USING   p_fieldname TYPE any
                                      p_outputlen TYPE any.
      wa_lvc_cat-fieldname =  p_fieldname .  " 'MATNR'
      wa_lvc_cat-outputlen =  p_outputlen.   " 18
      APPEND wa_lvc_cat TO gt_lvc_cat.
      CLEAR wa_lvc_cat.
    ENDFORM.                    " FILL_gt_lvc_cat_FLD
    *&      Form  FILL_GT_FIELDCAT_FIELD
    *       text
    *      -->P_C_X  text
    *      -->P_0012   text
    *      -->P_0013   text
    *      -->P_18     text
    *      -->P_TEXT_006  text
    FORM fill_gt_fieldcat_field  USING    p_key        TYPE any
                                          p_fieldname  TYPE any
                                          p_datatype   TYPE any
                                          p_outputlen  TYPE any
                                          p_seletext_m TYPE any.
      g_pos = g_pos + 1.
      wa_fieldcat-col_pos    = g_pos.        " 1.
      wa_fieldcat-key        = p_key .       " c_x.
      wa_fieldcat-fieldname  = p_fieldname.  " 'MATNR'.
      wa_fieldcat-datatype   = p_datatype.   " 'CHAR'.
      wa_fieldcat-outputlen  = p_outputlen.                     " 18.
      wa_fieldcat-seltext_m  = p_seletext_m. " text-006.   "'Material'.
      APPEND wa_fieldcat TO gt_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " FILL_GT_FIELDCAT_FIELD
    PERFORM fill_output_layout.          " Fill the output data into field symbol
    *&      Form  FILL_OUTPUT_LAYOUT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_output_layout .
      ASSIGN new_table->* TO <fs_table>.
      CREATE DATA new_line LIKE LINE OF <fs_table>.
      ASSIGN new_line->* TO <fs_line>.
      LOOP AT  gt_mseg INTO wa_mseg.
          ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_line> TO <fs_field>.
          <fs_field> = wa_mseg-matnr.
        READ TABLE  gt_grdtrans INTO wa_grdtrans WITH KEY mawerk = wa_mseg-WERKS
                                                             matnr  = wa_mseg-matnr
                                                             mat_doc = wa_mseg-mblnr binary search.
            IF sy-subrc = 0.
            LOOP AT gt_qmfe INTO wa_qmfe WHERE qmnum = wa_grdtrans-qmnum.
             READ TABLE gt_qpct2 INTO wa_qpct2 WITH KEY  codegruppe   = wa_qmfe-fegrp
                                                         code        = wa_qmfe-fecod
                                                         BINARY SEARCH .
              IF sy-subrc = 0.
              ASSIGN COMPONENT 'CODE' OF STRUCTURE <fs_line> TO <fs_field>.
              <fs_field> = wa_qpct2-kurztext.
             ENDIF.
             endloop.
             clear wa_qmfe.
            ENDIF.
    ENDLOOP.
        CLEAR wa_mseg.
    PERFORM fill_layout.                 " Filling the layout of REUSE_ALV_GRID_DISPALY
    *&      Form  FILL_LAYOUT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_layout .
      wa_slis_layout-zebra             = c_x.
      wa_slis_layout-colwidth_optimize = c_x.
    ENDFORM.                    " FILL_LAYOUT
    Edited by: ShaliniSinha on Mar 30, 2009 1:49 PM
    Edited by: ShaliniSinha on Mar 30, 2009 1:55 PM

  • 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

Maybe you are looking for