I need help understanding something. How and where are the (non cmis specified) properties of a document defined. I see that you can query a document using something like
SELECT cmis:name from sc:marketingDoc where sc:lastName = 'Smith'
So where is "sc:lastName" defined? Would it be defined under <cmisroperties> in the sc:marketingDoc <entry>?
Something like <cmisrabject> <cmisroperties> <cmisropertyString propertyDefinitionID="sc:lastName">
So I need to know where I can go find the properties of an object so I can specify the where clause of a query string.
I'm not sure if you already have the answer for your question.
The CMIS are trying to wrap all ECM specific models through their services, so if you need to know which additional properites a document has, you should request the meta-model of the document referenced by the cmisbjectTypeId (meta model id) this Id can be used to query the repository for the coresponding meta-model.
Also all instances (=documents) of a meta-model should have all properties in their properties collection, which can be requested by the cmisbjectId from the ObjectServices of the CMIS provider.