on 2005 Feb 28 9:09 PM
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
Hi Leonid,
as custom namespace you can take any string normally you want. I would recommend to have a URI based pattern for your namespace like the standard does:
http://company.com/kmc/customarea/
Best regards,
Thilo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.