As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&skipCount={skipCount?}&maxItems={maxItems?}
String filter: Filter specifying which properties to return.
The "getChildren" Web script –GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&skipCount={skipCount?}&maxItems={maxItems?}– specifies a "filter" argument. The definition is this:String filter: Filter specifying which properties to return.What is the format of this?
I have a custom property of "custom:Type". What would I put in the "filter" argument to return this? I've tried about everything.I've specified "ObjectId," and it did limit the returned properties to the "cmisbjectId" property. But am I limited to just the "cmis" namespace? Can I get my custom property out?
You're limited to properties that would be listed when you omit the filter (or use filter=*), that is, a fixed set of CMIS properties.
So, is there any way to get my custom property back from this Web script?
A property filter can be used to specify which properties to be returned in a request. A valid property filter will follow the following grammar: [*] | <propertyname>[,[ ]*<propertyname>]*
[*] | <propertyname>[,[ ]*<propertyname>]*
A property filter is a string that contains either ‘*’ (to return all properties) or a comma-separated list of property names (to return selected properties). An arbitrary number of spaces are allowed before or after each comma.