cancel
Showing results for 
Search instead for 
Did you mean: 

Application Properties

Former Member
0 Kudos
141

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

Accepted Solutions (1)

Accepted Solutions (1)

thilo_brandt
Employee
Employee
0 Kudos

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

Former Member
0 Kudos

Hello Thilo ,

It works.

Thanks,

Leonid

Former Member
0 Kudos

Hello Leonid,

have you tried to display the property within FlexUI, for example within Lists?

kind regards,

Marco

Answers (0)