Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Creating an insert form for my custom table View modes: 
User avatar
Member
Member
Pasha - 2/15/2013 2:02:05 PM
   
Creating an insert form for my custom table
I can't seem to find the documentation for doing this. I created a custom table. I can display the data in that table using a datasource and repeater. However, I can't figure out how to display the alternative form that I created. I'd like to be able to insert the data into my custom table.

I'd appreciate any help, I've been trying to do this for the last 3 hours.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/16/2013 4:04:24 PM
   
RE:Creating an insert form for my custom table
Hello.

You can insert data into a custom table in CMSDesk only. By default, the module does not allow it from live site. However, you can create a custom web part and ensure it via API.

Information on using the API to work with custom tables, including inserting data, can be found in the API examples here.

Best Regards,
Radek Macalik

User avatar
Member
Member
Pasha - 2/19/2013 10:34:25 AM
   
RE:Creating an insert form for my custom table
So, what is the point of the alternative form that I can create for a custom table?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/20/2013 1:35:11 AM
   
RE:Creating an insert form for my custom table
Hello.

You can create Alternative forms for the tables. These forms can be used instead of the default forms for creating or editing a custom table in the administration interface, as described in Modules -> Alternative forms -> Automatically used alternative forms.

Best Regards,
Radek Macalik

User avatar
Member
Member
Pasha - 2/20/2013 6:44:27 AM
   
RE:Creating an insert form for my custom table
Understood. Thanks!

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/9/2013 6:42:19 AM
   
RE:Creating an insert form for my custom table
I've created a webpart that allows you to insert and edit custom table records. you can check it out here: http://devnet.kentico.com/Marketplace/Web-parts/Custom-Table-Input-Edit.aspx