Skip to Content
0
Former Member
Feb 28, 2005 at 09:09 PM

Application Properties

91 Views

Hello,

I am writing the interface to load data and save it in KM.

I created custom properties and need to update them during load of these data files.

In PDK, I am using EP5 SP5, there is a sample how to set up these properties;

IRepositoryServiceFactory repServiceFactory = ResourceFactory.getInstance().getServiceFactory();

IRepositoryService repositoryService = repServiceFactory.getRepositoryService(aResource, IWcmConst.APP_PROPERTIES_SERVICE);

IApplicationProperties aApplicationProperty = (IApplicationProperties)repositoryService;

PropertyName pName = new PropertyName("urn:com.sapportals.training.km.services", this.propertyname);

What namespace I should use for custom properties?

Also, when I look at the properties from this service, I get only two

feedbackcount=null

commentcount=null

Which Repository service I should use?

Thanks,

Leonid