Fetching properties for custom type & all content for a
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 10:26 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:40 AM
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 …
Have a look on the Wiki for more info on the types of searches that are possible.
Hope this helps,
Roy
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
