Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Streety 358 posts 568 karma points
    Jan 16, 2015 @ 13:48

    Change Doc Types "en masse" from a nodeID to apply to children


    Due to the number of items In a sub folder I have implemented Anthony Dang great Auto Folders project which is working well under ver 7.1.4.

    However I now need to change a load on nodes to a differnet DocType.

    I know you can manually change the content DocType thru the GUI but I have thousands to do and I need an automated solution / scripted etc.

    The script needs to start at a certain NodeId and change all the children with a certain DocType to a new Doctype, whilst ignoring other node types.


    Can this be done.


  • Richard Soeteman 4014 posts 12698 karma points MVP
    Jan 16, 2015 @ 14:47
    Richard Soeteman

    This feature is high on the list for Bulkmanager I hope to have something ready end of next week.

    Otherwise loop over the items and change document type in code.

     var node = ApplicationContext.Current.Services.ContentService.GetById(123);



  • Streety 358 posts 568 karma points
    Jan 16, 2015 @ 15:46


    I think I have figured another fix where I don't need to change the docType but I change the parent.


    I'll try your code.

    Thanks for the prompt reply

Please Sign in or register to post replies

Write your reply to: