Portal Mast head customization
Hi All,
I have created and deployed a customized portal mast head.
There are no issues with the portal at all.
But I am finding a lot of log traces in the default log trace file .
Can anyone suggest/guide me what can be the issue .
I am getting the following error :
Exception ID:09:50_03/08/07_0166_9940351
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: pcd:portal_content/com.adidas-group.comadidasgroup/com.adidas-group.Masthead/com.adidas-group.AdidasPortalDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpag
at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
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(Native Method)
Best Regards
Sid
Hai Kuthbudeen
The jar files are not included in the modified par file. You can unzip the default par file and then copy the "com.sap.portal.navigation.masthead_core.jar" jar file from this. Paste the jar file in to your project folder "PORTAL-INF\private\lib" . Then deploy the par file
Regards
Geogi
Similar Messages
-
Error After deploying Portal Mast Head
Hai,
I copied PAR file com.sap.portal.navigation.masthead.par.bak to my local machine from the server and renamed that to mymast.par. Then i imported this PAR file into Netweaver developer studio and i modified headeriview_nls_de.properties file which is under the folder Portal-INF\private\classes.
From this file only the description(label) are taken and shown in the portal screen when different logon language is used, hence i just changed the German words into other, so that when the user login to Portal using German language they can see my words.
Then i exported this project as a PAR file and deployed this par file into portal using portalanywhere.Then i created a iview based on this PAR file and tried to see a preview that time it gave a error.
My requirement is to change the German word "Willkommen"(Welcome in English) to "Will" like this i have to change many words. So i used the above approach.
I am not sure where i did a mistake. Please let me know in which step i did the mistake and whether the approach is used is correct.
The error i am getting is the below one,
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com.sapportals.portal.navigation.HeaderiView.
Exception id: 12:08_29/08/06_0003_22927750
See the details for the exception ID in the log file
Regards,
H.K.Hayath Basha.Hai Kuthbudeen
The jar files are not included in the modified par file. You can unzip the default par file and then copy the "com.sap.portal.navigation.masthead_core.jar" jar file from this. Paste the jar file in to your project folder "PORTAL-INF\private\lib" . Then deploy the par file
Regards
Geogi -
Chnaging the Logo in the Master head?
Hi Friends,
How to add the Custom logo in the Master head instead of SAP Logo.
I copied the standard theme Saved as customtheme.
In the customtheme
In the Portal Master head in the "URL to Logo " property uploaded custom logo and saved.
Added the Custom theme to the own desktop and set the custom theme as defult.
But still it is showing the SAP Logo only.
Guide me how to solve this problem.
How to solve the problem using Masthead.par file.
Thanks
Srikanth.Hi,
I did not see any other chance of error in this process.
the problem might occure if
1) the new desktop in not saved properly when you modify the existing theme. did you change the standard name and then saved it with your custom desktop name? if yes go back again and check the preview of it, save it again.
2) mistake in adding the desktop to the user / role /group in main_rule (master rule collection). try creating a new user and assign this new desktop to that user.
3) very less chance with browser cache clearance. i think you already did it.
check the above 1 and 2 points once again.\
PradeeP -
How to enable the logo using master head par?
I want to change the logo on the portal page in Master Head
I have downloaded the par file of masterhead and changed required things like added .jar file, image required to show
Then i created the new par file and uploaded the same.
(with another name given for the uploaded par file)
how can i make this par file enabled to show the new logo? in PCD?You can also use other tools(non-eclipse) to change it.
Modifying Portal Initial logon pageThis procedure applies for EP 6.0 SP3 and higher.
The logon user interface (UI) of SAP Enterprise Portal is delivered in a liportal archive (PAR file) named com.sap.portal.runtime.logon.par which
contains all the logon UI's code and resources. In a deployed portal, the PAR file is located at
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
rj\root\WEBINF\deployment\pcd.
During initial portal deployment, it is renamed to
com.sap.portal.runtime.logon.par.bak.
To customize the logon UI, we recommend the following procedure:
Modify the PAR file containing the logon UIs
1. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In
this example, it is renamed to my.new.logon.par.
2. Move my.new.logon.par to a location outside of the
<SAPJ2EEngine-deployment-dir>.
3. Extract the files from my.new.logon.par preserving the directory
structure.
4. Modify files in the extracted PAR file.
5. Put the modified files back into my.new.logon.par.
6. Copy my.new.logon.par back to
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\i
rj\root\WEBINF\deployment\pcd. -
REG : Login Link in mast head
Hi Experts ,
We have customised standard logon par file (headeriview .jsp)
Now we have login link in mast head.teh link login is coming as follows
LOGIN_
Could you pelase let me know why this underscore is coming.
Regards,
AnuHi Anu,
every link, text or button has a key, which is used in the language property files.
It seems that the key was added or changed to LOGIN_ and so the correct text cannot be retrieved from the property files.
See more about this feature in my blog Portal Customizations Intro - Login Part 1
in the paragraph Changing Text
Regards,
Kai Unewisse -
Personalize link not visible in mast head
Hi ,
The personalize link is not visible in mast head.
Can anyone guide me on this .
Best Regards
SidHi
Go to Content administration -> Portal content-> Content provided by sap -> End user content->Standard portal users -> Worksets-> Portal personalization to the role of the user
You can also assign eu_role role to that user to enable the personalize link in masthead but this brings iviews too in the content area.
Regards,
Ganesh N -
Include link to a workset/page on mast header similar to Personalize Link
Hello,
is it possible to include a link in the mast header like the personalization link to open a workset/page in a pop-up. I looked at the HeaderiView.jsp and for Personlization an Event is raised, but I couldn't find how the Personalize Workset recognizes/subcribes this event.
Cheers,
ErikIt is true... NavigationTarget opens an entirely new portal framework. I am trying to dynamically change the portal top level nav, 2nd level nav, and detailed nav based on a link I click from the content area.
For example, this link would be in content area:
http://prh459.pr.us.pri.wyeth.com:50200/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?navigationtarget=roles://portal_content/roles/page/iview..
however...this link opens an entirely new portal framework within the content area...
how do I use this: EPCM.doNavigate "ROLES://portal_content/...
as you state earlier in the post? I would like to not open an entirely new framework within the content pane, but rather open a new iview within the content pane. I would like to also change the 2nd level nav and detailed nav based on the actual iview that is now displayed in the content pane. Since I can physically navigate to the iview, can I dynamically change the portal nav to represent this and place the correct iview in the content pane? ... is this possible? I can do it with NavigationTarget=ROLES://portal_content/ but again, it opens an entirely new portal framwork within the content pane... -
We have a requirement where we need to change the images for the mast head. So I downloaded com.sap.portal.navigation.masthead.par and modified the HeaderiView.jsp. I didn't change much, I just appended "Hello" to firstName and deployed and keep get following error:
Exception ID:04:22_05/04/06_0002_5925350
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.portal.navigation.masthead.default
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
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(Native Method)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.HeaderiView of Portal Component com.sap.portal.navigation.masthead.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@c5ecc]
Parent loader name: [sap.com/com.sap.portal.navigation.masthead]
References:
not registered!
Resources:
D:\usr\sap\SMX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.masthead\private\classes
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
It looks like there is a dependent classes that I need to deploy along with this par file.
Which par file should I be modifying?
Any suggestions would be greatly appreciated.
Thanks,
PraveenGuys:
Thanks for your quick response. Defiantly very helpful answers
I basically downloaded a corrupted par file and I was getting all these error message. I downloaded par file from a different server and it seems to work great.
I don't know how to reward points to all of you.
Once again guys, thanks for your answers.
Thanks,
Praveen. -
Hi
I required to include top level navigation into mast head file.
If I include toplevelnavigation.jsp file in masthead.jsp it gives exception ---
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.gems.gemscontent/com.gems.Devaram/com.newmast.newmast
Component Name : newedsmasthead.default
Error occurs during the rendering of jsp component.
Exception id: 02:13_17/08/06_0032_13329050
See the details for the exception ID in the log file</b>
Any one help me how to solve this problem.Hi,
If you are inserting the toplevelnavigation.jsp file in the masthead then the jar file present in the toplevelnavigation par file must be added in the customised masthead. The component of toplevel navigation must be added in the portalapps.xml file also.
There must be some syntax error in the code of jsp so the error occurs during the rendering of jsp is shown. -
After Merging the search tool Area and Mast head ivew its giving error
Hi Porat Gurus,
I have merged the Mast head Ivew with the top level tool area and added all the components that is required for tool area search in mast head Ivew in the lightheader page and deploying its giving error
Portal Runtime Error
An exception occurred while processing your request
Exception id: 11:50_14/10/08_0008_7205750
See the details for the exception ID in the log file.
plz tell where do i search for this exception
i could nt find anything in default trace
thanks in advance
johnyHi,
Steps need to for Merging the search tool Area and Mast head iview,
1. copy the search area properties from the tool area and paste the properties in masthead property file.
2. copy the tool area jar in the lib folder of the tool area par and paste that in to lib folder of masthead par.
3. copy the search area variables and methods from the tool area jsp and paste variables and methods in masthead HeaderiView.jsp file.
4. copy the search area properties from the tool area portalapp xml and paste the properties in masthead portalapp xml file.
Check these steps are done.i hope this will help u.
Regards,
Kathiresan R -
Hi ,
Can anyone guide me how to hide the User mapping tab from the user profile page of personalize link available in the mast head.
When the user cliscks on the link personalize in the mast head , he can see the user profile page . I want to hide the user mapping tab from this page .
Best Regards
SidHi Siddhart,
The Personalize option is a workset and linked to the Standard User Role.
So just open the standard user role and select the User Profile page which is linked to the Personalize workset.
The "User Profile" object is a Web Dynpro Application. So to customize it you can just press the preview button and in the preview page hold the "Control" key and right click on top of the "User Mapping" tab. You will find the option to hide the tab.
To do this you need to have administrative access.
Since you are changing SAP delivered role, I would recommend copying the role and making the changes to the copied (as delta link) role. You can then assign this role to the end users.
This method is applicable to EP 7.0 and NW 2004s.
Regards,
Abhishek -
How to create iView for customized master head war ?
Hi,
I deployed customized masterhead war file. But i cant see deployed war in portal application location.
Anyone help me for customizing and masterhead page and how to create iView for customized master head...Hi,
1. You can see the deployed application under the "Portal Applications"
2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
Hope I helped you.
Ronny. -
Portal Master-detail form how to auto assign detail record sequence number
Portal Master-detail form how to auto assign detail record sequence number.Please help me?
You can just read the following section
Can I specify a sequence number generator as the default value for a form column?
Yes. Enter the following in the "default value" field for the column:
#<schema name>.<sequence name>.nextval
where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
#SCOTT.CUSTOMER_SEQ.NEXTVAL
same way you can do for master - detail form.
for more information on forms please refer the following URL.
http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
hope it helps. -
Portal logon screen customization: size of branding image
Hi Experts,
1. the portal log on image should be changed to custom image. i replaced the branding image in D:\usr\sap\DP1\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.security.core.admin\servlet_jsp\logon\root\layout
and cleared the cache and refreshed the screen. the new image is seen. But i placed an image over 25kb (standard branding-image.jpg) size, it is not shown. is this the standard behaviour?
2. i would like to change the "Welcome" text, what is the best method to change.
I changed the test in D:\usr\sap\EPD\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.security.core.admin\servlet_jsp\logon\root\WEB-INF\classes
in <b>logonLabels_en.properties </b>file.
3. what is the way to change "SAP Netweaver Portal Internet Explorer" on the logon screen which appears on the interenet explorer top left corner!
i am on NW2004s SP11. EP7.0 SP11
thanks for reading. points will be awarded for the responses.
Regards,Hi,
When you want to chane the text appering on top of Internet explorer, do following things,
Go to System administrator-->system config --> In detail navigation panel, find Service configuration --> open it --> Open Portal runtime --> right click on central configuration > configure>find property named <b>portal.html.head.title</b> here enter any text you want and restart the J2EE engine.
2)You want to change "Welcome" text to say "welcome to my company", in this case you have done changes in <b>logonlables_en</b> properties, Now you have to again create the <b>umelogonbase.zip</b> file and then change the extension to <b>.jar</b> now replace this file in your<b> PAR file project in NWDS</b>, then deploy the project,
Once this is done, In your NWDS project find <b>portalapp.xml</b> file and click on default component and <b>run</b>, see if changes are appearing..if this is successfull, then its time to change the <b>authschemes.xml</b> file.
IF you have done with all this then please update the thread, we will proceed with authschemes file.
Regards,
Ameya -
Is it possible to substitute icons for the text specified in the portlet header for help, about, etc.?
If yes, how is this accomplished?Hi,
Its possible to replace the default text items like "Customize", "help" etc. with images in the rendered portlet. The above texts are a part of the portlet header that gets constructed by the Portlet Container. Constructing the portlet header involves constructing the title link & then adding the action parameter links for all the modes that have been enabled using the provider.xml. The title part is constructed by the method renderTitle() in oracle.portal.provider.v2.render.DefaultContainerRenderer while action parameters (i.e. "Customize","help" etc) are rendered by renderActions(). This method internally invokes renderAction() which by default would render the locale specific text for that mode. So your requirement is to change the default behaviour of this method to render images as links for respective modes in place of the default text.
You can achieve this by creating your own Container Renderer by extending the DefaultContainerRenderer and overriding the method renderAction(). While implementing the method, you can use a switch construct to add different images for different modes.
Maybe you are looking for
-
Having trouble printing to a DELL 3130cn color laser printer
I have problem printing to a DELL 3130cn in a LAN since upgrading to OSX 10.7. Apple and Dell can't help and no driver upgrade expected unless there are enough people with same issue. Can anyone help or have a work around? Sometimes if I wait for 5 m
-
Hi! We have mac mini (Yosemite) and NFS server under Ubnuntu 14.04. Also we have xcode resides on NFS share that mounted to mac. Problem: When I try launch xcode from nfs share I got error message: NSLocalizedRecoverySuggestion=Ensure that Xcode.app
-
I want to do my sample of the project following these steps. I 1. Create the template for compare other objects. 2. Save the template and ready for compare realtime with other objects II 1. Use the CCTV video camera Sony capture the picture of
-
IMac G5 Software restore CDs won't install on different iMac. Why?
I recently sold an OS X 10.4 iMac G5 Software restore CDs set. I got a message from the buyer and he says "I noticed that the discs say they are part of a hardware bundle and should not be sold separately." He says that the CDs will not install on hi
-
hey , i have a problem .....my iphone 4s wont turn on ....the only thing that happens when i turn it the apple logo shows but when it goes to the next level to loading the system the logo has a break down and turns off so i cant restore the iphone ev