Copied to clipboard

Flag this post as spam?

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


  • Meni 271 posts 528 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 591 posts 2345 karma points
    Feb 15, 2023 @ 18:23
    Yakov Lebski
    1

    you can use Umbraco.Content(4731)

Please Sign in or register to post replies

Write your reply to:

Draft