Creating new document types on the example project
Hello,
I want to create my own document types on the exmaple projects. I created a simple container document type under Master document type. Then gave the permissions and create the node.
When i save and publish the document Url previews ar not populated and the link to document displays " This document is published but is not in the cache" in the properties tab.
That sound a bit odd. Could you please try to republish the whole site by clicking the "CONTENT" and choose republish the entire site.
What you also could try to do is delete the file /App_Data/umbraco.xml, in this file you will find all the visible content on the site, and when you do the epublish the entire site, then umbraco.xml file will be re-created.
I tried your suggestions.
I think it's releated with custon UrlProvider and Content finder of the project.
When i comment out the lines that hook MultilingualUrlProvider and MultilingualContentFinder page becomes accessible but language specific urls become unusable.
You first need to update your ModelsBuilder model to get in sync with your DocumentTypes.
If you are using the ModelsBuilder API, you need to run Custom Tool on the file (in the 1-1 multilingual example named Builder.cs), while running the project.
I've Visual Studio 2017 Community installed and Umbraco ModelsBuilder Custom Tool is not suitable with VS 2017. I'll install VS 2015 and follow the steps on article you suggested.
Creating new document types on the example project
Hello,
I want to create my own document types on the exmaple projects. I created a simple container document type under Master document type. Then gave the permissions and create the node. When i save and publish the document Url previews ar not populated and the link to document displays " This document is published but is not in the cache" in the properties tab.
I didn't undestand what am i doing wrong.
Any ideas ?
Hi Osman,
That sound a bit odd. Could you please try to republish the whole site by clicking the "CONTENT" and choose republish the entire site.
What you also could try to do is delete the file /App_Data/umbraco.xml, in this file you will find all the visible content on the site, and when you do the epublish the entire site, then umbraco.xml file will be re-created.
I would also recommend you to double check that you have these file and folder permissions. https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/permissions
Hope this helps,
/Dennis
Hi,
I tried your suggestions. I think it's releated with custon UrlProvider and Content finder of the project. When i comment out the lines that hook MultilingualUrlProvider and MultilingualContentFinder page becomes accessible but language specific urls become unusable.
You first need to update your ModelsBuilder model to get in sync with your DocumentTypes.
If you are using the ModelsBuilder API, you need to run Custom Tool on the file (in the 1-1 multilingual example named Builder.cs), while running the project.
After that rebuild the project, and run again.
Can you please provide more information? Unfortunately I'm not a hardcore .net developer, i've limited knowledge :(
You can find some nice intro stuff about ModelsBuilder and using the ModelsBuilder API here: http://24days.in/umbraco-cms/2016/getting-started-with-modelsbuilder/
The section named API Models describes the steps to generate the classes.
Thanks Micha.
I've Visual Studio 2017 Community installed and Umbraco ModelsBuilder Custom Tool is not suitable with VS 2017. I'll install VS 2015 and follow the steps on article you suggested.
Everything is working well. Thank you Micha.
is working on a reply...