It would be nice if the child nodes could also be copied :). Also does it check if the node you're copying is allowed under the other node? For example I've got multiple folder media types. Each folder only has a certain allowed media type (custom ones). Does that work and are the custom properties also copied? Thanks for building this :).
Hiya, yes, it checks the types are allowed, and will show an error message if you try and copy stuff that isn't allowed. All properties should be copied across from the old media file to the new one. Currently it will only copy across files from a field called "umbracoFile". If you have other files that need to be copied that are stored under different names, you can modify the moveOrCopy.aspx.cs file and add them to the code there (I kept that bit uncompiled to allow people to make changes easily).
I'll have a look at getting it to copy child nodes as well over the weekend. It will probably be quite slow for copying large folders though.......
Can the tool copy folders and sub folders and media items to a new location. I have tested the original version and it copied a pdf to a new location but set t as an image type.
Would be nice if the tool copied folders and sub items as the same type to a new location
The type being wrong is a bit odd, it should keep the same type, what version of Umbraco are you using?
As for folders and sub-folders, this package doesn't do that, I know a couple of people have grabbed the source to make it do it, I'm not sure if they ever released their versions though!
Feature requests
Hello,
It would be nice if the child nodes could also be copied :). Also does it check if the node you're copying is allowed under the other node? For example I've got multiple folder media types. Each folder only has a certain allowed media type (custom ones). Does that work and are the custom properties also copied? Thanks for building this :).
Jeroen
Hiya, yes, it checks the types are allowed, and will show an error message if you try and copy stuff that isn't allowed. All properties should be copied across from the old media file to the new one. Currently it will only copy across files from a field called "umbracoFile". If you have other files that need to be copied that are stored under different names, you can modify the moveOrCopy.aspx.cs file and add them to the code there (I kept that bit uncompiled to allow people to make changes easily).
I'll have a look at getting it to copy child nodes as well over the weekend. It will probably be quite slow for copying large folders though.......
Hey Tim - how did you get on with the child node copying?
Hi Tim
Can the tool copy folders and sub folders and media items to a new location. I have tested the original version and it copied a pdf to a new location but set t as an image type.
Would be nice if the tool copied folders and sub items as the same type to a new location
Ta
Dave
Hi Dave,
The type being wrong is a bit odd, it should keep the same type, what version of Umbraco are you using?
As for folders and sub-folders, this package doesn't do that, I know a couple of people have grabbed the source to make it do it, I'm not sure if they ever released their versions though!
Sorry I should have said my umbraco version is 4.11.4 Assembly 1.0.4780.19111
Sure would be helpful if it did.
Dave
is working on a reply...