Umbraco Hosting Tips: How to Use Courier to Deploy MultiType Data?

Rate this post

Umbraco Hosting Tips: How to Use Courier to Deploy MultiType Data?

When using Umbraco and doing production deployments with the courier package I suddenly met an issue. We’ve got had the process working fine with built in components but recently I deployed a new property that used the MultiType DataType which permits for arrays of data fields grouped together. For example we’ve got the following grouping and multiple images is added to the one parameter in Umbraco.

RotatingImages
Item
ImageSrc(Media Picker)
MobileSrc(Media Picker)
AltText(Text)
LinkTo(Content Picker)

The problem comes in when we publish this item, the content and media pickers contain the node id’s and the data is stored as XML. As such courier will not process the ID’s when it does the deployment process. To fix this a custom PropertyDataResolverProvider is needed. The following code can be included in the App_Code directory to fix this problem.

Best Umbraco Hosting Recommendation

One of the most important things when choosing a good Umbraco hosting is the feature and reliability. HostForLIFE is the leading provider of Windows hosting and affordable Umbraco , their servers are optimized for PHP web applications such as the latest Umbraco version. The performance and the uptime of the Umbraco hosting service are excellent and the features of the web hosting plan are even greater than what many hosting providers ask you to pay for. At HostForLIFE.eu, customers can also experience fast Umbraco hosting. The company invested a lot of money to ensure the best and fastest performance of the datacenters, servers, network and other facilities. Its datacenters are equipped with the top equipments like cooling system, fire detection, high speed Internet connection, and so on. That is why HostForLIFE.eu guarantees 99.9% uptime for Umbraco. And the engineers do regular maintenance and monitoring works to assure its Umbraco hosting are security and always up.

hostforlifebanner