API
Version 7.x > API > Create Bizform thru API? View modes: 
User avatar
Member
Member
seanbun - 7/4/2013 10:31:58 PM
   
Create Bizform thru API?
Is it possible to create a bizform through API? What are the classes involved? any related reference I can follow?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/5/2013 12:23:08 AM
   
RE:Create Bizform thru API?
Hi,

Yes, it is possible. Bizform is a form as any other - e.g. the form for a document type, custom table, etc.
To create it, you need to use the DataClassInfo and DataClassInfoProvider classes to create given "class" (in this case the class in CMS_Class table).

I would recommend to watch this webinar about Kentico Form engine.
Also, you can take inspiration from the UI and the code behind files (how to find a location of a UI file)

And this knowledge base is about cloning a document type - which is basically a creation of new class - so the idea is the same for creating new form too.

Best regards,
Juraj Ondrus