cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching properties for custom type & all content for a

garf105
Champ in-the-making
Champ in-the-making
Hello,

I have a custom content type similar to the bundled example "Standard Operating Procedure" type. I am using the webservice API (RepositoryServiceSoapBindingStub class) to fetch items given their UUIDs.

1. Is there a way to fetch a specified custom property using the Node object returned by RepositoryServiceSoapBindingStub.get()? Currently I can only get all the properties or get a property at a specified index.

2. Is there a way I can get ALL content items belonging to a specified custom type using the webservice API?

Thank you,
-g
1 REPLY 1

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

I'll try to answer your questions:

1.  No, at the moment there isn't a way to do what you are asking via the Web Service API.  Its probably something we should add.  If its a pressing issue the best way to ensure that it gets done is to add a Jira task describing what you need.

2. I think the best way to do this is via a query.  Try …



    respositoryWebService.query(store, "TYPE:<put the type name here>", true);


Have a look on the Wiki for more info on the types of searches that are possible.

Hope this helps,
Roy