How to validate unique column custom in document?
How can I validate in polymer section that a column is unique in a nuxeo form?
What is the best alternative?
I tried to run nxql but I couldn't :'(
Yes, I need validate the custom input value is unique in database before save the form.
My solution is:
- Add operation Repository.ResultSetQuery
- Add listener on input: ``` this.$.
- Execute query then validate is unique value.
This uniqueness check should be done on the Polymer part (when validating a form for example).
Do you want to check uniqueness in a complex multivalued property? In the search results?