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 :
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