I wondering if is possible to REMOVE ability to manage content types by umbraco GUI and using ONLY strongly typed models like these from models.generated.cs file.
As we know in each case after modify content types on staging env. is necessary to make these same changes manually in a production environment.
Will be great when after adding new property into models.generated.cs file, the property will shown on content type definition on GUI.
I believe that somebody already create similar solution because from my (developer) perspective this is the weakest think in umbraco.
Usync definitely solves the problem of having to recreate your document types etc elsewhere so should solve that part of the problem.
In terms of not allowing changes to be made in Umbraco itself, would it be enough to simply remove the Settings tab permissions from those users or do they need access to other things in there?
I'm not aware of a package to go from code to document types but Umbraco is very easily extensible by using Events and their ContentTypeService. You'd be able to quite easily code something to create the document types on startup perhaps that keeps them in sync.
Strongly typed models in whole project
Hi all
I wondering if is possible to REMOVE ability to manage content types by umbraco GUI and using ONLY strongly typed models like these from models.generated.cs file.
As we know in each case after modify content types on staging env. is necessary to make these same changes manually in a production environment.
Will be great when after adding new property into models.generated.cs file, the property will shown on content type definition on GUI.
I believe that somebody already create similar solution because from my (developer) perspective this is the weakest think in umbraco.
Please for help thanks, Adrian
Hi Adrian,
Take a look at Usync https://our.umbraco.org/projects/developer-tools/usync/
It serializes changes out so you can then import them to other environments.
Matt
Thanks Matt
It is not exactly this what I'm looking for but partially helps.
regards, Adrian
Hi adrian,
Usync definitely solves the problem of having to recreate your document types etc elsewhere so should solve that part of the problem.
In terms of not allowing changes to be made in Umbraco itself, would it be enough to simply remove the
Settings
tab permissions from those users or do they need access to other things in there?I'm not aware of a package to go from code to document types but Umbraco is very easily extensible by using Events and their ContentTypeService. You'd be able to quite easily code something to create the document types on startup perhaps that keeps them in sync.
is working on a reply...