Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > BizForms - Can they be used to edit data as well as insert? View modes: 
User avatar
Member
Member
mcutter-global-id-group - 10/15/2009 11:15:26 AM
   
BizForms - Can they be used to edit data as well as insert?
BizForms are useful for inserting data, but I can't seem to find documentation on using a bizform to edit/view a record that has already been inserted. Of course, I can write a custom webform to do this but it seems like such an obvious task that I'm wondering if I've overlooked this somewhere?
I basically want to have a bizform that if ID is in the query string then lookup that record and display it with Update, Cancel buttons, and if not then display the same form fields but with Save, Cancel buttons. In addition, there should be a way to set editmode=readonly to view the contents of the form.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 10/16/2009 4:37:05 AM
   
RE:BizForms - Can they be used to edit data as well as insert?
Hi,

Thank you for the requirement. I have forwarded it to our project manager and he will consider it.

Currently you can achieve this only with BizForm API (http://devnet.kentico.com/docs/devguide/bizforms_api.htm) and BizForm events.

You might find also useful following KB article when implementing such web part in Kentico CMS:

http://devnet.kentico.com/Knowledge-Base/Web-parts---Controls/Making-BizForm-fields-inactive-after-submitting.aspx

Best Regards,
Miroslav Remias.