FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
access to custom property groups by web svc (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: access to custom property groups by web svc
#500
yongzhi1983 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
access to custom property groups by web svc 8 Months ago Karma: 0  
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!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#502
pavila (Admin)
Admin
Posts: 411
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:access to custom property groups by web svc 8 Months ago Karma: 8  
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.
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
#513
yongzhi1983 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:access to custom property groups by web svc 8 Months ago Karma: 0  
pavila wrote:
QUOTE:
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?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#514
pavila (Admin)
Admin
Posts: 411
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:access to custom property groups by web svc 8 Months ago Karma: 8  
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:

/jcr:root/okm:root//element(*,okm:document)[@okp:prop.nom='option1']
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop