FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Property groups SOAP API? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Property groups SOAP API?
#105
mmanley (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Property groups SOAP API? 6 Months, 1 Week ago Karma: 0  
Are there any plans to expose the PropertyGroups API through the web services API? Being able to let other applications search content through the custom properties we set up would really make PropertyGroups very useful to me.

Thanks.

MSM
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#106
mmanley (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Property groups SOAP API? 6 Months, 1 Week ago Karma: 0  
Never mind on the "search" part of this request. I understand now that I can search on property groups using the findByStatement() call.

But being able to specify property group values from outside applications is still very appealing.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#108
pavila (Admin)
Admin
Posts: 215
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Property groups SOAP API? 6 Months ago Karma: 7  
Yes, you can search by property groups using WS (in theory almost!) The property groups API it not fully exposed by WS. I'll study if we can inluse this improvement in the next release.
 
Report to moderator   Logged Logged  
 
Be open, my friend!
  The administrator has disabled public write access.
#115
mmanley (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Property groups SOAP API? 6 Months ago Karma: 0  
I figured out how to search the custom property groups. If I pass the following Xpath query to Search.findByStatement() I get what I want:

//*[jcr:contains(@okp:mypropertygroup.myproperty, 'myvalue')]

Granted, that query will also return items in the Trash that contain the searched property, but I think I can add a clause to the Xpath to suppress that.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#116
pavila (Admin)
Admin
Posts: 215
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Property groups SOAP API? 6 Months ago Karma: 7  
This query will search only for documents in the main repository path (okm:root).

Code:

/jcr:root/okm:root//element(*,okm:document)[jcr:contains(@okp:mypropertygroup.myproperty, 'myvalue')]
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/02/19 16:49 By pavila.
 
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