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.
Hello
I would like to only allow the creation of documents with a single dc title, but the user to enter metadata.I've tried to do a query, and then, delete the docuemnt, but I have a lot problems. What would be the best option?
Please clarify...Is your requirement to define a new folder type, say 'Unicity Folder', that ensures the names of its child documents (based on their titles) are unique?
Hello,
I'll try to explain better...
First, the user put his documents with their dc:title, whatever he wants, for instance A1. But, I want unique documents in my system , I mean documents that not have repited their dc:title.
So, I made automation chain which searching the same dc:title (with a Fetch Query) and.... if This.size()=0, create document; if not erase the document. But I had a lot of problems when I erased the document...
Any advice?
Thank you very much
You cannot reliably enforce uniqueness of child titles within a folder using an automation chain. This must be done at a much lower level in the system which includes adding a unique conditional database constraint on the hierarchy table parentid and name columns for VCS-based Nuxeo deployments. A DBS-based deployment has a dependency on a [Nuxeo Shared State Manager][1] being implemented.