AnsweredAssumed Answered

Store many values within an aspect property and be able to search easily

Question asked by kartech11 on Jun 20, 2018
Latest reply on Jun 23, 2018 by afaust

I am very new to Alfresco content services and am trying to understand how to go about the below

 

I have an aspect called orderDetails that has a property called OrderIds. I can have have one or more orderIds associated with a document.

1. What should the data type of orderIds property be so that it can store many values?

2. How best can I implement this so that I should also be able to search for all documents for a given OrderID

Doc 1 - OrderID 1, 3, 5, 8

Doc 2 - OrderID 1, 2, 3, 6, 7

Doc 3 - OrderID 3,4,7

 

If I search for document for orderID 7 then I should be able to fetch Doc 2 and Doc 3.

Outcomes