Copied to clipboard

Flag this post as spam?

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


  • Meni 281 posts 539 karma points
    Feb 13, 2023 @ 06:21
    Meni
    0

    macroScripts in Umbraco 11

    Hi,

    In my Umbraco 7.15.7 website I had a folder "macroScripts".

    Not sure why I had it, and why the files there are not inside MacroPartials - anyway, should I keep it in my Umbraco 11?

    Should I move them to MacroPartials ?

    Also, I have in the code there things like

    dynamic JobsOrEvents_node = Library.NodeById(4731);
    

    couldn't find the comparable of dynamic and Library in Umbraco 11

    Please advise.

    Thanks

  • Yakov Lebski 594 posts 2350 karma points
    Feb 15, 2023 @ 18:23
    Yakov Lebski
    1

    you can use Umbraco.Content(4731)

  • 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