chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Potts <jeffpott...@gmail.com>
Subject Re: Secondary Type example from opencmis doc throws type unknown error
Date Wed, 11 Oct 2017 15:39:33 GMT
They are not dynamic. A secondary type must already be known by the
repository before it can be applied.

Some repositories support using CMIS to add type and secondary type
definitions to the repository. Once the repository registers your
definition you can then use it. But you cannot simply make up a content
model and start using it without registering it first, otherwise you will
get type unknown errors, as you have seen.

Jeff

On Wed, Oct 11, 2017 at 10:15 AM, krzysztoffzielinski@gmail.com <
krzysztoffzielinski@gmail.com> wrote:

> Hello All,
> I was wondering how the secondary type work. They are meant to be dynamic,
> so when you should be able to create them on the fly. however, when i run
> example from the docs, i get
>
> CmisObjectNotFoundException: Type 'custom:classifictaion' is unknown!
>
> do you need to predefine the "custom" namespace?
>
> Thanks a lot
> Krzysztof
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message