Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > using custom tables View modes: 
User avatar
Member
Member
clan1999-hotmail - 2/3/2010 5:43:31 AM
   
using custom tables
Hello,

Can someone kindly show me where I can find tutorials on how to create new forms that uses custom tables?

Thank you.

Seong Bae

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 2/3/2010 6:32:23 AM
   
RE:using custom tables
Hi,

Do you mean custom table Kentico CMS module (http://devnet.kentico.com/docs/devguide/custom_tables_module_overview.htm)?

If this is the case, you can create custom web part (http://devnet.kentico.com/docs/devguide/developing_web_parts.htm) for this purpose. This custom web part can contain your controls like standard ASP.NET TextBox control for example is. In cod behind of your web part you can gather the data from the controls and use custom table API to store the data:

http://devnet.kentico.com/docs/devguide/custom_tables_api_examples.htm

If you mean something else, please let me know.

Best regards,
Miroslav Remias


User avatar
Member
Member
LPadden-ccs.spokane - 2/19/2010 11:45:30 AM
   
RE:using custom tables
How about using a web part to display data from a custom table that is NOT in the Kentico database? I have a table in a sql 2008 database that I need to display the information on a page on the Kentico CMS website.

I can't find how to do that. Is it possible?

Any help is appreciated!

User avatar
Member
Member
LPadden-ccs.spokane - 2/19/2010 11:52:18 AM
   
RE:using custom tables
My bad, the database is sql 2005 although we will be migrating to 2008 within the next few months.

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 2/23/2010 6:00:49 AM
   
RE:using custom tables
Hi,

you need to create custom webpart which will be able to access the data from different database and display the data in some listing control in this web part.

Best regards,
Miroslav Remias.

User avatar
Member
Member
farbod.kishani-gmail - 12/14/2011 4:55:15 AM
   
RE:using custom tables
Hi
Is there any way to put "File" type in "Attribute type" in "Fields" tab for Custom Tables.
I mean in "Document Type" when u want to add a field to your document type in "Attribute type" drop down there is "File" type and u can use it,but it's not there in Custom Tables.
Thank You.

User avatar
Member
Member
kentico_michal - 12/14/2011 5:28:55 AM
   
RE:using custom tables
Hello,

Regrettably, the Field type is not designed for custom tables. You would need to create a custom form control for this purpose.

Best regards,
Michal Legen