Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Bizform control (Online form) View modes: 
User avatar
Member
Member
Brian.Kellogg-VinSolutions - 1/2/2013 1:03:53 PM
   
Bizform control (Online form)
bizform.ascx

Has anyone taken this control and edited it so it only saves to ONE database table instead of the table that it creates when you create the form? I'm about to do this, and I was curious if anyone was successful or had issues in doing this.

The reason why I am doing it is simply because we will likely have well over 5,000 forms.

Thanks in advance.

User avatar
Member
Member
kentico_jiris - 1/3/2013 4:16:58 AM
   
RE:Bizform control (Online form)
Hello,

I strongly recommend you not to do that because I think this would mean to reimplement whole form module - the bizform.ascx is based on form definition object, there is no direct work with DB. The other reason is that even if you manage to do that somehow you might run into problems during upgrades later.

If you need to query data from all those forms, you should use alternative forms instead (that way you can have 5000 different forms for one table).

If you do not need to perform such queries on all these data, having many forms with many tables is much better idea, because every single one of these tables can be optimized to specific needs of the some group of alternative forms.


User avatar
Member
Member
egarrison-wte - 1/3/2013 10:07:52 PM
   
RE:Bizform control (Online form)
We would normally create our own custom control (webpart) to populate the data. Sometime we will create a Custom Table and then use custom form control to populate the table and apply custom logic.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/4/2013 1:33:37 AM
   
RE:Bizform control (Online form)
Hi,

In this case the forms module makes no sense for you and it would be better to create fully custom module for this. Anyway, if you still want to modify the existing module, this webinar will tell you more how the Form engine works.

Best regards,
Juraj Ondrus