Copied to clipboard

Flag this post as spam?

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


  • Perry Cope 31 posts 195 karma points
    Feb 11, 2020 @ 10:50
    Perry Cope
    0

    MultiNodeTreePicker Upgrade

    Im on 7.15.3 and trying to upgrade a MultiNodeTreePicker (obsolete) too MultiNodeTreePicker2. but when doing so all the data gets erased on the properties that use the datatype.

    I have tried republishing entire set and this does not work it seems to be completely gone from the db? enter image description here

    Image is a history of the specific property 655 is before change. 656 is after republish. 657 is after a rollback i believe? 658 is again after a republish.

  • Joep 96 posts 698 karma points
    Feb 11, 2020 @ 17:09
    Joep
    1

    Hi,

    This is because the MNTP2 stores data in a different way. So after you change it and then try to get a node it doesn't know how to display it so you don't see anything. Then you press save it stores the field which is empty.https://gist.github.com/kiasyn/bb067269d97a37f76e9a0f8743972837 if you put that method into your'e startup it will patch the data.

    -Joep

  • Perry Cope 31 posts 195 karma points
    Feb 11, 2020 @ 17:52
    Perry Cope
    100

    Im aware of the different formats. i Just assumed it would have been automatic like with the MediaPicker to MediaPicker2

    Are you saying its not automatic with multinodetreepicker? and i have to manually convert from id to the new format e.g (umb://document/b0de279a563349869da89de165102a7a) (the name escapes me)

  • Joep 96 posts 698 karma points
    Feb 11, 2020 @ 18:04
    Joep
    1

    Hi,

    Yeah I had too migrate it myself aswell.

    -Joep

  • Perry Cope 31 posts 195 karma points
    Feb 11, 2020 @ 18:33
    Perry Cope
    0

    Thanks. Accidentally marked wrong thing as solution will rectify if possible

Please Sign in or register to post replies

Write your reply to:

Draft