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
Similar Messages
-
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 -
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,
HeikoHi 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 -
Changing the Portal Navigation structure
Hello everyone,
I am also trying to modify the Portal general look and feel. I want to change the portal navigation structure (not just the themes and templates) the way first and second level navigation has been arranged. Do you have any idea as to how to do this?
One example could be, can I center all the second level navigation items. Can I modify the tab separators etc.
Would appreciate any help.
Regards,
Deepak Shankarhello
Refer following links for portal login page change..
Portal Customizations Intro - Login Part 1
Portal Customizations Intro - Login Part 2
A fast and easy Portal logon page customizing
<b>Customizing the Logon Screens</b>
http://help.sap.com/saphelp_nw04/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm
<b>Changing the authschemes.xml File.</b>
http://help.sap.com/saphelp_nw04/helpdata/en/1a/3afd4e641b8f42ac07bb77fe30375b/frameset.htm
<b>Display Animated Logo in the Portal Login Branding Image dynamically: </b>Display Animated Logo in the Portal Login Branding Image dynamically
Display Animated Logo in the Portal Login Branding Image dynamically: Display Animated Logo in the Portal Login Branding Image dynamically
The standard logon component containing the code and resources used by the logon screens is shipped in a portal archive (PAR) file named com.sap.portal.runtime.logon.par.
Import the par file as a project in NWDS. Browse through the tree structure of the project. In the PORTAL-INF folder, various jsps are available.
1)umLogonPage.jsp
2)umLogonCertPage.jsp
3)umResetPasswordPage.jsp
4)changePasswordPage.jsp
5)umHelpPage.jsp
6)umLogonProblemPage.jsp
7)umLogoffPage.jsp
8)umLogonTopArea.txt
9)umLogonBotArea.txt.
Inorder to change the images, text in the logon page you need to edit Files 1,8,9
The SAP logo is referenced in umLogonBotArea.txt as sapLogo.gif.
The branding image branding-image.jpg is referenced in umLogonBotArea.txt.
Edit the images name in these files and put your new images in the layout folder of the project.
If u want to remove the " register now" option in the logon screen, remove the self registration tag in the umLogonPage.jsp
Cheers..
Chinmaya
Reward for helpful answers -
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 -
Regarding creation of dynamic deep structure
Hi all,
I have to construct the dynamic deep structure.
for example,
With the help of information about address and t_table, i have to create the deep structure on runtime.
In one case i need to create the deep strcuture with address alone and in another case i need to create the deep structure with address and t_table.
DATA : begin of address ,
address type string ,
end of address.
data : begin of t_tab ,
name(10) type c,
age type i,
address like address,
end of t_tab,
t_table like Table of t_tab.
data: BEGIN OF wa_vig,
details1 like address,
details2 like t_table,
END OF wa_vig.
data: BEGIN OF wa_vig,
details1 like address,
END OF wa_vig.
Please guide me, how should i acheive this with the help of dynamic declarion .
regards
VigneshHi All,
I will be happy if i can acheive this using RTTS concept.
Regards
Vignesh -
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
MarkusHi 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 -
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,
VenkyyHi ,
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,
ThomasHi,
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 PMPlease 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?
NiravHi 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
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
SriramHi 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 -
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,
RongHello 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
-
Clueless how to mate the AC3 sound file given me with my video project
Hi gang. This morning I started researching how to do this, but haven't figured it out yet. My DSLR projct has ben edited on Premiere Pro CS5. I created the project in stereo and once I picture locked, outputted an OMF file to the sound mixer. He jus
-
Stickies in dashboard revert to yellow when I restart my computer.
When I select a different color for the stickies on the dashboard, the color changes. When I restart my computer, however, all of the stickies have reverted to the original yellow color, but when I check in the i the color I selected prior to the re
-
My iPad2 suddenly has all Email accounts Greyed out in Settings and none can be selected. The iPad2 did have it's password changed a couple of days ago. However changing it back to the original password does not fix it.
-
Simple Card Game - that works Now want to give it Multiplayer Functinality Also I am confused, how do I get the client to get information sent from my server to it, since it is not listening (and store it into a string) I really just want a bare bone
-
Soft synths being distributed amongst cores
Hi all, I'm thinking of upgrading my 2.0 dual core (5 years old) with a new MP. I mainly use the machine for Logic 8. Not heavy recording, but a lot of powerful soft synths.. One of them being "Omnisphere" and the BFD 2 Drum program. Right now I only