Query Association

Showing results for 
Search instead for 
Did you mean: 

Query Association

Query Association

0 Kudos

I am looking for some better and faster way to find child associations.

For example, I have one type(my:accounts) which stores the reference data and this type is associated with multiple nodes of type(my:doc). I want to query my documents(my:doc) where reference data(let’s say account_id=001) is tagged as association. I learned from different Alfresco forums that we can’t directly query associations. Only option I can see is search for reference data(my:accounts where account_id=001) and then iterate over the results to get parent nodes(my:doc).

Is there any easy and faster way to get all the documents(my:doc) with pagination like we get search results?

1 Comment
Community Manager
Community Manager

Hi @milinp 

Have you seen these database query examples? You may be able to adapt one of these, depending on your requirements?