I was thinking it would be all too possible for someone to deploy a uSiteBuilder site to production without realising they need to manually create a data-type.
I just tested this on my dev box.
you get an exception on any page something like:
Property 'DocTypeAlias.PropertyAlias' is set as 'Other' umbraco data type ('My Funky Datatype') but data type 'My Funky Datatype' cannot be found in Umbraco.
Normally we can roll back the deployment (but it may be less time consuming to disable uSiteBuilder just long enough to jump in and create the data type manually) or is there another neat way to do this?
That's awesome, I assume the 'option' would also give a faster load time when the app starts too, so people could just enable it when making deployments.
I'm thinking about creating an extension to your USiteBuilder that would allow the deployment of DataTypes. Does anyone know if Sasa Popovic is currently building this or know of anyone else that will be building this functionality? I will submit my code so that it can be compiled it into the core of USiteBuilder.
We are not building support for DataTypes although we planned to do it in future.
If you already have a good idea on how to do it then feel free to do it and share it with us. We will then check it out and if all looks (and works) fine then we will add it to the core of uSiteBuilder.
Btw, I'm only one of the people from Vega IT Sourcing who works on uSiteBuilder; Vladan Ostojic is the person who should get most of the credits but there are other people as well.
@Vladan has this feature been added?, we're considering putting DocTypes in a separate DLL, but if we can disable the DocType migration on startup then we don't need to do that.
Disable DocTypeUpdate for deployemnt oops
I was thinking it would be all too possible for someone to deploy a uSiteBuilder site to production without realising they need to manually create a data-type.
I just tested this on my dev box.
you get an exception on any page something like:
Property 'DocTypeAlias.PropertyAlias' is set as 'Other' umbraco data type ('My Funky Datatype') but data type 'My Funky Datatype' cannot be found in Umbraco.
Hi Murray,
We are actually building that option. For now, you can just remove dll with your document types and put it back when you create your funky datatype.
That's awesome, I assume the 'option' would also give a faster load time when the app starts too, so people could just enable it when making deployments.
Yes that's right.
Hi,
I'm thinking about creating an extension to your USiteBuilder that would allow the deployment of DataTypes. Does anyone know if Sasa Popovic is currently building this or know of anyone else that will be building this functionality? I will submit my code so that it can be compiled it into the core of USiteBuilder.
Cheers,
Olie
Hi Olie,
We are not building support for DataTypes although we planned to do it in future.
If you already have a good idea on how to do it then feel free to do it and share it with us. We will then check it out and if all looks (and works) fine then we will add it to the core of uSiteBuilder.
Btw, I'm only one of the people from Vega IT Sourcing who works on uSiteBuilder; Vladan Ostojic is the person who should get most of the credits but there are other people as well.
Regards,
Sasa
@Vladan has this feature been added?, we're considering putting DocTypes in a separate DLL, but if we can disable the DocType migration on startup then we don't need to do that.
Cheers.
Murray.
Hi Murray, this feature is added (and committed to the code repository on code plex) but it is not working correctly yet.
is working on a reply...