Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web Service to do Java PDK .setProperty() and .store()

I had posted this in the EP Content Development group, but received no response. Sorry for the cross post but this is relatively urgent for me.

I am working on a Portal Component in the PDK for .NET which will take values selected from a CheckBoxGroup, concatenate it to a string and write that to a single Personalization preference.

However, the PDK for .NET does not support writing Personalization preferences to the PCD. Thus, I have determined the solution to be:

Make a Portal Service that takes a value and writes it to the Personalization of an iView. Basically it needs to simply do a:

IPortalComponentProfile profile = 
request.getComponentContext().getProfile;
profile.setProperty("selectedVal", myData);
profile.store();

Then this will be converted to a Web Service. However, how will the Web Service know what iView its writing Personalization for?

I've searched and searched and come up with little clues here and there that I've somewhat pieced together but no concrete solutions. Please help. Thanks! --Shibli

Not what you were looking for? View more on this topic or Ask a question