Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
where the documentTypes or contentTypes will be saved ?
Hi sas7,
document types and content types (which are essentially the same - unless you mean media types) are saved as nodes in the umbraco database.
Any specific info you need?
Cheers,
/Dirk
yeah thanks.,
where can i find umbraco database?
Take a look at the 'web.config' file, search for the 'umbracoDbDSN' string, this will point to your database.
Hi,
If you want to use it in code I recommend using the API to get info about the content/doument types. Below you find some snippets. Make sure you have references to the umbraco, businesslogic and cms DLL's
umbraco.cms.businesslogic.web.DocumentType dt = umbraco.cms.businesslogic.web.DocumentType.GetByAlias("[the alias]");umbraco.cms.businesslogic.ContentType ct = umbraco.cms.businesslogic.ContentType.GetByAlias("[the alias]");
umbraco.cms.businesslogic.web.
DocumentType dt = umbraco.cms.businesslogic.web.DocumentType.GetByAlias("[the alias]");
umbraco.cms.businesslogic.
ContentType ct = umbraco.cms.businesslogic.ContentType.GetByAlias("[the alias]");
Hope it helps you,
Richard
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
DocumentTypes Storage
where the documentTypes or contentTypes will be saved ?
Hi sas7,
document types and content types (which are essentially the same - unless you mean media types) are saved as nodes in the umbraco database.
Any specific info you need?
Cheers,
/Dirk
yeah thanks.,
where can i find umbraco database?
Take a look at the 'web.config' file, search for the 'umbracoDbDSN' string, this will point to your database.
Hi,
If you want to use it in code I recommend using the API to get info about the content/doument types. Below you find some snippets. Make sure you have references to the umbraco, businesslogic and cms DLL's
Hope it helps you,
Richard
is working on a reply...