As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi I want to know when ecm:versionVersionableId is set to be null and when it will be not null.
Hello, from the documentation:
ecm:versionVersionableId: the id of the versionable document of a version (the versionable document is the one from which the version was created).
So, according to that definition, the ecm:versionVersionableId property will be null in "main" documents, and it will not be null in versions. So, for example:
You create a new document with ID: XXXXX (this will always have ecm:versionVersionableId to null)
Then, you create a new version of this document (1.0). Then you will have:
I hope it is clear!
Can you detail your use cas? Maybe there's a simpler approach.
Thanks @Rodri