0 Replies Latest reply: Dec 1, 2011 5:22 PM by Christopher Fenner RSS

PCD object values in ClientSideAttributes for AFP Customization

Christopher Fenner
Currently Being Moderated

Hi,

 

we've build a customized AFP following SAPs howto. We made a deltalink to the SAP AFP and removed everything except the AFPResources and put in our own Masthead, etc.. But with removing the other SAP Components like AFPWidgets, AjaxToplevelnavigation, etc. we've lost the oportunity to customize the masthead via the FrameworkPageConfigurator. We can write the neccesary parameters via portalapp.xml into the pcd object and they are displayed in the FrameworkPageConfigurator. But the values are not loaded into the clientSideAttributes.

We want to access them in JavaScript via

EPCM.getSAPTop().LSAPI.AFPPlugin.configuration.getClientSideAttributeValue(<resourceBundle>, <key>);

 

Any suggestions how we can achieve this?

 

greetings Chris

 

 

 

Edit: I found out that i can add clientSideProperties via the IAFPHelperService, a IService which I can get via the PortalRuntime. But till now I didn't find the containing jar.....ClassLocator told me it's not in my server..

 

Edited by: Christopher Fenner on Dec 1, 2011 5:19 PM

Actions