Copied to clipboard

Flag this post as spam?

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


  • Matthew Berner 47 posts 327 karma points
    Jun 04, 2020 @ 16:50
    Matthew Berner
    0

    Obsolete class umbraco.MacroEngines.DynamicXml issue

    Obsolete class umbraco.MacroEngines.DynamicXml issue, got this error. The solution is replacing it with Umbraco.Core.Dynamics.DynamicXml. This is what Visual Studio told me ( I am using the latest and greatest version)

    This is part of package that I use to drop Ads, You tube videos and JavaScript that handles our sliders. Here is a piece of the code where it was changed and I still get an error.

    //#
    //# Actual rendering here
    //#
    <div class="cms-widget">
      @if(node.html.GetType() == typeof(Umbraco.Core.Dynamics.DynamicXml))
      {
        @node.html.ToHtml()
      }
      else
      {
        @Html.Raw(node.html)
      }
    </div>
    

    Any guidance would be great or is there another Package that would accomplish the same thing.

    Thanks Matthew Berner

Please Sign in or register to post replies

Write your reply to:

Draft