• access to custom property groups by web svc

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #500  by yongzhi1983
 
Hi,

1) May I know if the web services provide a way to add custom property groups to nodes?

2) If so, can we set the properties in the custom property groups through the setProperty method?

3) Can we search for documents using custom property groups via web service?

Thanks in advance! :laugh:
 #502  by pavila
 
1.- Actually, property group API is not exposed in webservices. This is a feature included in our Professional edition.

2.- The setProperty method can only change a few document properties, like the \"keyword\" property. Perhaps is a dirty-and-quick workaround.

3.- Yes, you should.
 #513  by yongzhi1983
 
pavila wrote:1.- Actually, property group API is not exposed in webservices. This is a feature included in our Professional edition.

2.- The setProperty method can only change a few document properties, like the "keyword" property. Perhaps is a dirty-and-quick workaround.

3.- Yes, you should.
Hi Pavila,

Thanks for the prompt reply.

1. Do you mean in the professional edition, we can create and assign custom property groups to documents?

2. In the professional edition, can the set property change custom properties in custom property groups? Or are there additional web service methods to do it?

3. You mean I can search for documents using properties in the custom property groups if I have the professional edition?
 #514  by pavila
 
1&2. You can create and assign custom property groups in Community and Professional edition, but this WebServices API is only exposed in Professional edition.

3. Both on Community and Professional you can make search using XPath queries using the findByStatement() method. The XPath query should be like this
Code: Select all
/jcr:root/okm:root//element(*,okm:document)[@okp:prop.nom=\'option1\']
 #5609  by Furgas
 
pavila wrote:1.- Actually, property group API is not exposed in webservices. This is a feature included in our Professional edition.
I'm also interested in accessing (and setting) custom properties via WebService.
What differences are there between Community and Professional edition of OpenKM?
 #5678  by Furgas
 
Could you point me to WebService method which returns and sets custom properties of document?
Methods getProperties and setProperties from OKMDocumentService don't seem to support it according to WSDL.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.