ASPX templates
Version 3.x > ASPX templates > Question about document types and manage the content form them View modes: 
User avatar
Member
Member
basire-gmail - 2/3/2009 2:43:21 PM
   
Question about document types and manage the content form them
Ok, from what i have seen, it looks like the document types is the core on manage dynamic data for a website in kentico. Now the issue is the only way to manage the data is to actually create a page for them and manage it like that, is this the way it is designed(were as in other systems I would say list all hotels and it would just list in a table all hotel with basic information and then you can click into one to view/edit all the details)?

Also it does not seem possible to import data through just SQL. I mean I can import data directly into the database table but there does not seem to be a way to create a page for a document type record that already exist, you have to manually enter it in when you create a page, is there any way to create a page from an exiting record?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/4/2009 5:42:40 AM
   
RE:Question about document types and manage the content form them
Hi,

If you want to display data from DB without creating documents in content tree, you can use e.g. query repeater - http://devnet.kentico.com/docs/controls/queryrepeater.htm. With custom SQL query you will get the data and display it in transformation.

You can use SQL import tool to import the data into Kentico CMS DB - http://www.kentico.com/docs/devguide/how_to_use_the_sql_import_util.htm.
Moreover, you can use our API to create documents - http://devnet.kentico.com/downloads/kenticocms_api.zip.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
basire-gmail - 2/4/2009 9:13:47 AM
   
RE:Question about document types and manage the content form them
Now if i use the queryrepeater and don't create a page for each item, well i be able to use kentico to manage the data or will have have to manually create a page to manage that table(from scratch) or in some other way manually manage the data in the database?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/5/2009 7:05:19 AM
   
RE:Question about document types and manage the content form them
Hi,

the query repeater is only displaying the results from DB. You can edit the data in DB or create custom control which will allow you to do this.

Best Regards,
Juraj Ondrus