General - .NET User Groups General issues with editing, development and graphic design.
Kentico CMS for .NET User Groups > General - .NET User Groups > Automatic columns in DocumentType View modes: 
User avatar
gaurav.agrawal-octalsoftware - 6/28/2010 4:26:14 AM
Automatic columns in DocumentType

I am +3 years experienced software developer on dotnet platform and now learning Kentico CMS for my various clients. Now i want to implement a new document type in a site and i want in this document type in database fields i want 2 more columns one is "FormInserted' and another one is "FormUpdated" and when we insert a new record at that time they both fields filled automatically in database and when we update this record at that time updated datetime will be updated in "FormUpdated" automatically like a bizform. I saw in bizforms there are already these columns and filled it automatically. Is there is any way to do this?


Gaurav Agrawal

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 7/2/2010 9:16:28 AM
RE:Automatic columns in DocumentType
Hi Gaurav,

If I get your point the form insert means new document insert. If so, we store these data for all documents (CMS_Document table in database).

If you want to see these dates on Form tab please go to:

Site manager -> Development -> Document types -> edit -> Fields -> New system attribute -> Document attributes -> select the requested field

Best regards,
Helena Grulichova