kentico_jurajo
-
11/5/2008 8:36:59 AM
RE:How to create autonumber field in custom document?
Hi Danuta,
I am afraid but there is no feature for this in current version. You will need to develop custom form control (http://www.kentico.com/docs/devguide/developing_form_controls.htm). In the code of this control you will check the DB for the highest ID in appropriate table (e.g. document type table or CMS_Document table) and then you can increase the number and assign it to the new created document.
Best Regards, Juraj Ondrus
|