Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Remove default document types from site View modes: 
User avatar
Member
Member
DahlinDev - 1/22/2013 11:32:24 PM
   
Remove default document types from site
On a new Kentico install, Kentico assigns all the default Document Types to the new site. This is also true for all the Page Templates.

Is there a way to not do this, and if not, is there an easy way to remove all of them from the site? Perhaps in the database?

It seems on every new install part of my setup process is going through and deleting all of these one by one. There must be a more efficient way.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/24/2013 10:47:31 AM
   
RE:Remove default document types from site
In the CMS_PageTemplateSite table you could remove the links immediately after you create your site and have your SiteID.

Sounds like this would be a nice option for future versions. A simple checkbox that says associate document types with this site when creating the site objects.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/28/2013 10:20:15 AM
   
RE:Remove default document types from site
If using v7.x you can also go into the Site Manager>Sites><select your site> and click Site Objects. In there are all the associations of objects, classes, page templates, etc. you can select all and remove selected. This is probably the better way to approach it vs. directly in the database.