Automatic progressive field as a dynamic content type field
Is it possible to add to a dynamic content type an automatically incremented field, e.g a progressive identification number that users can not modify? What is the best way to do that?
Hi Alessandra,
I suppose by auto increment you mean the value of the field to auto increment based on certain event done to a module item like publishing the item, upon every publish the value of certain module field will increment its value.
To handle events for custom modules built with the module builder refer to the public events for module builder modules documented here. Subscribe to DynamicContentUpdated event to handle every publish operation of the module and increment the value of certain field.
Regards,
Kaloyan
Telerik
Thanks Kaloyan,
we'll do that way.
Alessandra