Copied to clipboard

Flag this post as spam?

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


  • Mike Pitcher 6 posts 26 karma points
    Sep 24, 2011 @ 19:40
    Mike Pitcher
    0

    bulk update of MediaPicker field.

    I plan to use the Desktop Media Uploader to upload several hundred image files. They are all images of products. How can I programatically update the field imagePhoto in the respective Product node so that the end result will be as if a user had "picked" each file manually? The files are called {nnnnn}.jpg where nnnnn is the alphabetic product code of the product.  {nnnnn} is also the name of the Product node.

    I'm a newbie to Umbraco but am now comfortable creating dashboard extensions with .ascx user controls.  

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Sep 24, 2011 @ 22:19
    Dan Diplo
    0

    Haven't got time ATM to go into details, but have a look at the Document API and how you can modify properties as a starting point.

Please Sign in or register to post replies

Write your reply to:

Draft