Problem with switching tabs in top level navigation
Hi,
I've created two tabs (based on two roles) in the portal top level navigation menu. When clicking the first one it opens as it should. Then when clicking on the second tab it will not open, instead the first tab open up again, it sort of switches back automatically.
Does anyone have any expericene with this type of problem?
Best regards, Olof Trönnberg
Hi George
On startup of the role an iview was called which opened a gif file stored in the KM. This iview wasn't added to any page so I basically did just that; added it to a page. Now the problem seems to have gone away!
Thanks!
Similar Messages
-
Problem with switching tabs in top level navigation for Roles
Hi,
I've created two tabs (based on two roles) in the portal top level navigation menu. When clicking the first one it opens as it should. Then when clicking on the second tab it will not open, instead the first tab open up again, it sort of switches back automatically.These two roles are basically consists of worksets and iviews(accessing to r/3).
Does anyone have any expericene with this type of problem?
please suggest me
Thanks
AravindaHi Aravinda
Please check this link
Re: Problem with switching tabs in top level navigation
Regards
Geogi -
Problem with Back button in Top Level Navigation
Hi all,
We are facing a minor problem with the Back button in the Top Level Navigation in Portal. This button is present under the Roles and Worksets menu along with the History, Forward, and Add to Portal Favorites links.
The problem is faced when we have some worksets under a single role. While browsing accross these worksets by randomly clicking on them, we wish to use the Back button as well to go back to the previous workset. But when we use the Back button, the Detailed Navigation panel in the last workset is not retrieved.
I will explain with the System Administration Role. I open the worksets under this role in the following manner:
First I open Transport;
Next I open Portal Display;
Next I open System Configuration;
Now I wish to go back to Portal Display workset by clicking on the Back button. But when I do this, although the Portal Display workset opens up, but I cannot see the Detailed Navigation Panel. See the screenshot below:
http://img399.imageshack.us/my.php?image=backbuttonkg6.jpg
Please help me in solving this issue.
Regards,
AnkurI think I have found a resolution, although not very pleasant:
[Note 950426 - Portal Back button not working correctly|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_pi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393530343236%7d]
Regards,
Ankur -
Tab in Top Level Navigation is not highlighted when clicked on
Hi guys,
We have 1 problem in EP 6.0:
I create 1 iview(testiview), and attached to the role(testrole), assigned to 1 user, then login with that user. In top level navigation, i am able to see the role(testrole) in top level navigation, but after i clicked, the tab for this role is not highlighted, but the content of iview is displayed,
Any one knows what happened?
Thanks!
Guo FengHi Guo
You have created one role and added one iView under it.
now can u tell which one you made as entry point.
if Role is the entry point are you getting the iView link in the DTN ?
If you made iView as entry point and then you r getting the content in content area and the iView link in the top.
i think the second one happens...
Check the role and iView properties .
Make the Role as entry point..
Cheers
Chinmaya
Reward for helpful answers -
Show/Hide tabs in top level navigation of a role based on assigned services
Hi,
I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
Regards,
SumeetPlease refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
What i meant was that you can do a custom TLN like this
[http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
Seems to me java/jsp is more appropriate than doing it via WDA.
ANother way that you might look into this is Application integrator which again java programming effort needed. -
Clear data bag, when change tab in top level navigation!?
Hi, i had search the forum, but i don't find an answer!
I have the following problem:
We have to clear the client data bag (EPCM), when the user change the tab,
but how can i do something, when the user change? Is there a event and i only must subscript on this event, or what can i do?
I would be lucky with some ideas or a solution!
LarsHi Lars,
IF u are using HTMLB tabstrip then there is event for tabitem change.
For instance :
<hbj:tabStrip
id="myTabStrip1"
bodyHeight="100"
width="200"
horizontalAlignment="CENTER"
verticalAlignment="TOP"
selection="3"
tooltip="Tooltip for myTabStrip1"
>
<hbj:tabStripItem
id="myTabStripItem1"
index="1"
height="80"
width="160"
onSelect="myTabStripItem1OnSelect"
title="Tab 1"
tooltip="My Tooltip for Tab 1"
>
<hbj:tabStripItemBody>
<hbj:textView
text="TextView on Tab 1"
/>
</hbj:tabStripItemBody>
</hbj:tabStripItem>
<hbj:tabStripItem
id="myTabStripItem2"
index="2"
height="80"
width="160"
onSelect="myTabStripItem2OnSelect"
title="Tab 2"
tooltip="My Tooltip for Tab 2"
>
<hbj:tabStripItemBody>
<hbj:textView
text="TextView on Tab 2"
/>
</hbj:tabStripItemBody>
</hbj:tabStripItem>
So for the change in selection u can define an event and write your logic in this event handler in ur controller.
check all the controls of tabstrip in below pdf
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a41cee4-0601-0010-5fb3-d8e704f88817">EP pdf</a>
Thanks
Swathi
Do offer pts:-) -
Can we control the top level navigation in portal from a java application
Hello,
I am having a scenario where User logged in to portal and assigned with 2 roles (HOME , ISA(Java application)). When user opened a form in ISA (Java application) and tried to enter the data in form and moved to another tab (e.g. HOME) in top level navigation.
When user come back to ISA (Java application) TAB , we show the page where he left earlier. I would like to know if user click any other TAB in top level navigation (Role assigned to him) while working on a page in ISA(Java application) is there any way we can catch that event before he leaves from ISA (Java application JSP page) to other TAB?
How can we control the top level navigation events in the portal from a java application .Since Top level navigation is seperate par file.
Thanks,
RNDear Rajesh,
Top Level and detailed navigation values comes with iteration in the respective par file.
Please check the par file and based on the value (i.e tab name) selected, you can write your code.
Best Regards
Arun Jaiswal -
How to display image in top level navigation
Hi,
how can i display an image in the top level navigation?
(looks like the top level navigation of the SDN)
Thanks,
NormanHello Norman,
Please read through these forum links which also deal with customization of Portal 'Top Level Navigation'.
Basically you need to download the required masthead.par and make the necessary changes as mentioned in the forum messages as belwo:
[Customizing Top Level Navigation|https://forums.sdn.sap.com/thread.jspa?threadID=511530]
[Customize Portal TLN|https://forums.sdn.sap.com/thread.jspa?threadID=1145007]
Hope this helps.
Regards,
Shailesh -
We are designing that many roles are assigned to one user.
(about 7-8 roles per user)
When many roles are assigned to the user, tabs in top level navigation bar can not be displayed without scroll horizontally.
We want to display all roles at once, without scroll.
To realize the above, roles must be displayed on 2 records
in the one top level navigation bar.
Is ther someone who knows whether top level navigation can
be displayed at 2 records on a bar, or not.
Any help or information would be appreciated.
Thank you.
Mizuka Aoyama
SAP Japan Netweaver Consulting.Mizuka,
first, you might want to reorganize your roles and possibly have a look at the "merging" feature.
Next, you might change the portals theme to use a smaller font for the top level tabs.
If both options are unsuitable, you can develop your own top level navigation component by writing some java code. Then you can make it look whatever you like to (and I mean it, it's extremely flexible, I did it early in the time of EP6 SP 0 ramp-up, but definitely takes some time).
Regards,
Dominik -
Problem with WPC and Top Level Navigation
Hi all...
I have one problem. I'm using WPC and my role name is shown in Top Level Navigation (TLN).
For example:
Role name: Test
navigation nodes: company, About Us, Finnancial, News...
"Test" role is shown on TLN first level and the first level of navigation node is shown on TLN second level.
How can I remove the role name from TLN first level? I already changed the entry point parameter to "No" however this case the navigation node disappear from TLN.
tksPraveen,
How can I set the "No" Entry Point parameter to my navigation nodes??
In my role configuration I only changed the External Connector and Entry Point Parameters.
Where can I set up the No entry point parameter for my navigation nodes?
Regards -
A problem Configuring Top-Level Navigation
hi, when i change the property of the Number of Display Levels in the Top-Level Navigation
(as shown in http://help.sap.com/saphelp_nw04/helpdata/en/5a/33befa45ca7f459b24d0c5d51d0749/frameset.htm)
I set to 0 and then hide the top-level navigation, i forget set the Detailed Navigation property level to 1
and now i dont have any access to the configuration menu and i cant do nothing,
can i change the Detailed Navigation set to 1 manualy outside the portal?
may be changing any configuration file?
thanks
Message was edited by: Jose Rubí
Message was edited by: Jose RubíHi,
We have faced a similar problem earlier, one of the developers changed the property to 0. Luckily for us, one of the user id has got Content Administrator as the first tab, so we could change the iview template and got the TLN. Check this option.
The following is a theoritical idea only, i have not implemented this
Download "com.sap.portal.navigation.toplevel.par.bak" and change the code. Check out this link
https://help.sap.com/saphelp_nw04/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm
You have to change the code as
levels=2;
before this line
if(levels>0)
{ %>
Take a backup of the existing TLN par and upload the edited one with the same name. Then try login and see whether you are able to get the contents, update the property back to 2.
Note : try to upload the necessary jar files in NWDS. -
Hi guys,
recently, I ran into something really strange. The Top Level Navigation (TLN) became faulty. If the user clicks on certain entries in First Level Navigation or Second Level Navigation the content area is not loaded properly. The content area stays empty as well as the detailed navigation iView (no navigation entries listed). Furthermore, the TLN does not get updated.
The weird thing is it only affects a few users and the set of affected navigation tabs is different for every user. The problem affects standard tabs (System Administration, Content Administration, etc.) as well as custom tabs. The set of affected users and the set of affected tabs seems to be arbitrary chosen.
A new log entry is written every time the problem occurs. Find an example below:
<i>
[PortalNode.fireEventOnNode.toEventListener] event=onNodeReadyEvent, target=com.sap.netweaver.coll.CollaborationDetailedNavigation, operation failed
[EXCEPTION]
java.lang.NullPointerException
at com.sapportals.portal.navigation.CollaborationNavTree.isCollaborationNode(CollaborationNavTree.java:490)
at com.sapportals.portal.navigation.CollaborationNavTree.doOnNodeReady(CollaborationNavTree.java:227)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:174)
at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:387)
at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:230)
at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:572)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:741)
at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
</i>
While searching SDN I found a SAP Note that might be interesting. SAP Note 982496 contains the description of a similar problem with almost the same error message. However, this SAP Note describes a problem of NW 2004 SPS 17. A problem that should be solved in newer releases. We patched our system last time (NW2004s SPS 09) a few month ago. We never had any similar problems until last week when the above described problems started.
Unfortunately, the problem starts to escalate. More and more users and more and more navigation tabs are affected.
Does anyone of you have any experience with this kind of problems? Please suggest how to troubleshoot and solve this very annoying problem. Of course, I am going to reward helpful answers.
Best regards,
MartinHi Harini,
thanks for your suggestions.
1) Clearing the browser cache did not help at all.
2) We disabled the navigation cache a long time ago. That means navigation is not cached.
3) We are going to restart the portal server today. I keep you updated.
Best regards,
Martin -
Top level navigation problem anonymous portal
Hi everybody,
We have an anonymous portal with named anonymous users.
When you log on in the portal with a normal user, the top level navigation works fine and all the content is displayed.
When you log on in the portal with an anonymous user, all the content is displayed, the top level navigation works.
But when you press e.g.: the second tab in the top level navigation, you can see the right content, but the tab is not highlighted. In the normal portal the tab is highlighted. The auth scheme of my top level navigation iview is set to anonymous.
Did I forgot to set a standard sap iview to anonymous or something?
Kind regards,
David De KerpelHi,
You have the following options to solve this problem as suggested by SAP:
1. Disable the short urls feature. Go to System Administration --> Navigation --> Short URLs, set the "Use short URLs" to false, save the configuration and restart the J2EE Engine.
2. Log in as a standard user (not anonymous) and navigate to all iViews/pages that will be viewed by anonymous. Navigating to an iView/page or a navigation node means that you can see a link to it in the TLN or DTN.
3. Deploy the PAR file attached in the SAP Note 913367, which fixes the problem.
Regards,
Srinivasan T -
Top-Level Navigation Tab Image
In the top-level navigation it allows you to assign background colors for the tab colors when selected or not selected. However, you can reference an image with a unique path in this field. So when the top-level navigation renders it displays an image, gradient for example instead of a background color. I did this a while back but cannot locate this information. If someone has done this before and can provide this information that would be great.
--KALI just tested it, and did not manage to make it work.
I am in the Portal Outer Frame > Top-Level Navigation > Unselected Tabs of First Level > Background Color of Unselected Tabs
and this is the value I use :
background:url(http://<host>:port/irj/go/km/docs/documents/SDN/my_image.png)
Am I missing something ? Do I have to create a par file for this ?
Edited by: Fabien REVOL on Aug 6, 2010 9:28 AM -
Top-level navigation tabs shape
Hi,
I need to have rounded tabs in th top level navigation, can anyone tell me if there is a easy way to do this??
Thanks in advance,Hi Marysol,
Did you find the documentation? Do you have additional questions on the navigation tag library?
Also, when you first looked for the documentation, what was the problem that caused you not to find it? How would it be better to organize the documentation?
Daniel
P.S.: If Ankur's post helped you, please consider awarding points. Thanks.
Maybe you are looking for
-
6980 wont stop printing report pages
Help-My 6980 Deskjet has recently started printing report pages after every print job. It seems to go into quiet mode on its own, prints the job and then continues to print multiple report pages until I turn it off. Of course I'm out of warranty so
-
Changed DataSource in R/3-- New PSA Table in BI ?????
Hello Experts, I have one question. When someone change a DataSource in R/3 System, what happens it for the DataSource in BI at this time. An Error ? (TimeStamp) Or new PSA Table ??? Thank you for your Answer..
-
Why is the rented movie from iTunes not playing?
I have rented a movie from iTunes in my iPad, and it is not playing. When I press on the movie title from the iPod > purchsed section, it gives me a black/blank screen for a second or two and then takes me back to the main desk-top screen. Is there
-
Could not read list of software component versions
Hi, I am trying to import software components from sld into esr. When i click on display available components i get the error : Could not read list of software component versions The details show: Could not read list of software component versions fr
-
Website data in advanced settings for websites never visited
How is it possible for website data to be recorded in advanced settings without visiting a website? Would other websites visited have to be related content popups? If the iphone 6 plus was used as a hot spot, can other users actions be recorded on