unable to get complexType property of document using CMIS

Hi,

I am unable to get complexType property of document using CMIS.

I create document type like this:

<xs:element name="firstname" type="xs:string"/>
<xs:element name="lastname" type="xs:string"/>

<xs:element name="address">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="street" type="xs:string"/>
            <xs:element name="city" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

By I can't get information about complexType property using CMIS. Properties “firstname” and “lastname” are correctly set in response, but complexType “address” is not.

Can anyone tell me what could be possible reason of this incorrect behaviour?

I appreciate any help.

0 votes

1 answers

1908 views

ANSWER



Contrary to Nuxeo, CMIS has no notion of a “complex type”. So there is no simple way of exposing Nuxeo's complex types through CMIS.

In some cases we could expose them using mangled names describing the “path” to the complex type, but there has never been a request for this feature until now. Please feel free to contact our commercial department if you would like us to work on this feature.

1 votes