Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Masthead Customization

$
0
0

Hello All ,

 

I have a requirement in my Project Wherein I want to change the Welcome message which appears on the SAP Portal.

I have done the following steps :

1. Imported the com.sap.portal.navigation.afp.masthead_core.jar from the server.

2. Created a EJB Project using the jar file imported all the classes.

3. Created the .java classes and pasted all the code.

4. Added all the required JAR files.

 

I have used the following blog :

 

 

https://wiki.scn.sap.com/wiki/display/NWTech/Sap+portal+7+30+-+change+portal+masthead+and+libraries+that+you+need+to+start+customization

 

Step 1 , 2 & 3 I have followed.

 

Still I am getting error in two files :

 

Masthead.java

 

Line Of Code :  service.addClientSideAttribute("AFPMasthead", "com.sap.portal.navigation.afp.notifyOnFinishedLoading", finishLoadingPropVal);

Error : The method addClientSideAttribute(IPortalComponentRequest, String, String, String) in the type IAFPHelperService is not applicable for the arguments (String, String, String)

 

Utils.java

 

Line Of Code : WriteProtectInfo writeProtectInfo = PcdAccess.getPcdUtils().getWriteProtectInfo();

Error : PcdAccess cannot be resolved

 

 

Line Of Code : IInitialNodesPersonalizationService personalizeService = (IInitialNodesPersonalizationService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.service.InitialNodesPersonalizationService");

Error : -InitialNodesPersonalizationService cannot be resolved

  to a type

  - IInitialNodesPersonalizationService cannot be resolved

  to a type

 

All the code in the class is the standard code which is mentioned in the link.

 

Please help and let me know what can be done to resolve this issue.

 

Thanks in advance

Anuradha Rao Tolani


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>