cancel
Showing results for 
Search instead for 
Did you mean: 

New Document type ID generation

Dalal_
Confirmed Champ
Confirmed Champ

I created a new document type facture with a field numFacture, When I save it into database the ID column is automatically generated it has such value "bbe7a3d3-274a-4c18-ab93-ef582a965ec1". What I want is to make the numFacture field the primary key and get rid of the generated ID.

1 REPLY 1

Alain_ESCAFFRE
Star Contributor
Star Contributor

The Nuxeo technical ID is necessary for the good behaviour of the platform and cannot be removed. Yet you can use any field of your document including custom ones for fetching the document you want (thus storing the numFacture as a custom property). If you want also to access the invoice via its numFacture value in the URL, you can implement a new URL codec.

You can also implement some custom ID generators.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.