Copied to clipboard

Flag this post as spam?

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


  • Jason Wise 20 posts 100 karma points
    May 23, 2017 @ 14:47
    Jason Wise
    0

    Dynamic Nodes in 7.6.1

    I recently upgraded from 7.3.7 to 7.6.1 and found out that the Dynamic Node Context is no longer working / supported. We have quite a bit of legacy code that uses this and right now it would take me too much time to re-write it. So, I was wondering was in dynamic nodes not longer supported and / or what is the last version that supports it?

    Thanks! Jason

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 23, 2017 @ 14:58
    Alex Skrypnyk
    0

    Hi Jason

    Dynamic Nodes are obsolete, but it should work in 7.6.1.

    Be sure that you disabled the new property value converters, look at an umbracoSetting.config setting: in section settings/content, setting EnablePropertyValueConverters needs to be FALSE

    Read more - https://our.umbraco.org/documentation/getting-started/setup/upgrading/760-breaking-changes#property-value-converters-u4-7318

    It's one of the breaking changes in 7.6.1

    Thanks

    Alex

  • Jason Wise 20 posts 100 karma points
    May 23, 2017 @ 15:03
    Jason Wise
    0

    Alex,

    I did not have that setting in my umbracoSettings.config file, I did however add it and it did not solve my problem.

    With that I ask do you know what the latest version I can go to without it breaking?

    Thanks,

    Jason

  • anthony hall 222 posts 536 karma points
    May 23, 2017 @ 16:18
    anthony hall
    1

    Hi Jason, thought i'd share my experiences.

    I just upgraded to 7.6.1 from 7.5.11. The application ( sadly ) had a lot dynamics used in it. I had a few exceptions. I can't recall exactly what caused them, looking at my git history it could be statements like "Umbraco.Content(CurrentPage.homepageMainPanel)" but now the site is fully working. There are still a lot of dynamics used like on the site. So there is definitely some support for dynamics. The following statement is working

    @CurrentPage.thumbnail
    
  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 23, 2017 @ 17:04
    Alex Skrypnyk
    0

    Hi

    Guys can you paste code that gives you exceptions?

    Alex

  • Jason Wise 20 posts 100 karma points
    May 23, 2017 @ 17:08
    Jason Wise
    0

    Alex,

    You have already tired to fix my code that was posted in a different thread. Which I can not get to work with my project.

    Right now I was just interested in what version of Umbraco stopped using the dynamic nodes so I could go back to a working version and make the changes has I have time. Right now I am going to go back to 7.3.7 and make the changes has I have time.

    Thanks,

    Jason

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 23, 2017 @ 21:33
    Alex Skrypnyk
    0

    Jason, dynamic type works in Umbraco 7.6.1

    In this topic - https://our.umbraco.org/forum/templates-partial-views-and-macros/85762-macroscripts-not-rendering-after-upgrade-to-761 Code example works fine in Umbraco 7.6.1, problems can be in some other code, but I we need more information.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies