Quantcast
Channel: Alfresco Forums - Alfresco API
Viewing all articles
Browse latest Browse all 252

How to search for a specific aspect/property?

$
0
0

Hi everyone! :)

So I'm looking to get a list of all checked out documents based on certain aspects, specifically cm:checkedOut. Basically, I want to search for all documents with the aspect cm:checkedOut and assume that that would be the list of all checked out documents.

I've been able to use cm:checkedOut and searched for checked out documents in the node browser, but I'm having a hard time finding a REST endpoint that will let me search for a certain aspect. The thing that I found so far is this CMIS endpoint:

https://wiki.alfresco.com/wiki/CMIS_Web_Scripts_Reference#Query
Executes a CMIS query statement against the contents of the Repository.

GET /alfresco/service/cmis/query?q={q}&includeAllowableActions={includeAllowableActions?}&includeRelationships={includeRelationships?}&renditionFilter={renditionFilter?}&searchAllVersions={searchAllVersions?}&skipCount={skipCount?}&maxItems={maxItems?}

and I'm assuming I'd have to write a CMIS query something like this:
https://wiki.alfresco.com/wiki/CMIS_Web_Scripts_Reference#CMIS_Query

But I'm new to Alfresco and I honestly don't know if I can write a CMIS query to search for a particular aspect?

So my question is: is there a REST endpoint that will let me search for a specific aspect and do what I want to find? If it's relevant I'm using a .NET framework with C#.

Any help is greatly appreciated thanks!! :)

4.2

Viewing all articles
Browse latest Browse all 252

Trending Articles