A very short reminder how to use aspects in CMIS 1.1.
Let’s use a simple snippet of content model I already used in a previous post. Briefly, to refresh our mind,
there is
a type ms:document that inherits from cm:content and represents medical documents. Medical documents are linked
to a
person using and aspect ms:person that holds the person properties. Below is the xml that describes this content
model, the full file is here:
What we want is to select all medical documents for a certain person and show the properties. We want to select the
person based on his ID.
As you can see the there is a join between the type and the aspect - the aspect is actually considered as a separated
object. Then the join is made on the property cmis:objectId. That’s all!