If we create a new Media Item in the Media Library on the source umbraco installation, and selects that media using the Media Picker on a page on the source, and then transfer that page from source to the target umbraco installation, the Media Item is not created in the target umbraco installation.
How do the rest of you deal with this issue? Are you creating new Media Items on both the source and taget umbraco installation? I suspect this will only cause other problems since the Media Items on source and target will have different Node IDs over time?
Hi Dennis, it should transfer the media item. Are you using a third party media picker ? If you are you need to set that up in the courier config file. /umbraco/plugins/courier/*.config
I am having problems getting this to work. Specifically what to put in for the datatype in the mediaPickerDataTypes section in the config file. How do you figure out what the data type alias is as there is no alias column in the data table for the cmsDataType table. Also, do you use the controlID from the cmsDataType table or the uniqueID from the umbracoNode table.
After a bit of testing, i found that it is the controlID not the uniqueID. Also, the alias is the name of the datatype, just without any spaces and the first letter lower case.
Transferring media with Courier
If we create a new Media Item in the Media Library on the source umbraco installation, and selects that media using the Media Picker on a page on the source, and then transfer that page from source to the target umbraco installation, the Media Item is not created in the target umbraco installation.
How do the rest of you deal with this issue? Are you creating new Media Items on both the source and taget umbraco installation? I suspect this will only cause other problems since the Media Items on source and target will have different Node IDs over time?
Please share your experiences on this issue.
Kind regards
Dennis Milandt
Comment author was deleted
Hi Dennis, it should transfer the media item. Are you using a third party media picker ? If you are you need to set that up in the courier config file. /umbraco/plugins/courier/*.config
Hi Tim,
Thank you for a quick reply. I am indeed using the very nice Image Picker With Preview :-) which has now been added to the courier.config file.
Result: Media Items are added/updated when the content node is being transferred.
Thanks a lot!
Kind regards
Dennis Milandt
I am having problems getting this to work. Specifically what to put in for the datatype in the mediaPickerDataTypes section in the config file. How do you figure out what the data type alias is as there is no alias column in the data table for the cmsDataType table. Also, do you use the controlID from the cmsDataType table or the uniqueID from the umbracoNode table.
After a bit of testing, i found that it is the controlID not the uniqueID. Also, the alias is the name of the datatype, just without any spaces and the first letter lower case.
is working on a reply...