ASPX templates
Version 5.x > ASPX templates > Create child document only once? View modes: 
User avatar
Member
Member
aneeshsiva-gmail - 5/13/2011 5:18:22 AM
   
Create child document only once?
Is it possible to create a particular child under its parent only once? ( Not allow to create more than 1 child under a particular document)


Thanks and Regards
Aneesh Sivan

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/26/2011 6:44:49 AM
   
RE:Create child document only once?
Hello.

Regrettably, this functionality is not provided in current version of Kentico CMS. You could try customization via CustomDataHandler class (http://devnet.kentico.com/docs/devguide/data_handler.htm) and check number of actual child documents of given parent in OnBeforeInsert method. However, this is up to you to implement such functionality via our API and customization possibilities.

Best Regards,
Radek Macalik

User avatar
Member
Member
aneeshsiva-gmail - 5/26/2011 7:24:26 AM
   
RE:Create child document only once?
Thank you..

Regards,

Aneesh Sivan