Copied to clipboard

Flag this post as spam?

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


  • Christopher W. Brandsdal 72 posts 133 karma points
    Mar 10, 2011 @ 15:10
    Christopher W. Brandsdal
    0

    Check if macro exist

    Hi

    I have used umbraco.cms.businesslogic.macro.Macro.GetByAlias() to check if macro exists. This is obsolete, but i have'nt figured out what to use instead. Anyone out there that could help me getting it right? :-)

    ----
    Christopher

  • kows 81 posts 151 karma points c-trib
    Mar 10, 2011 @ 15:38
    kows
    0

    not sure but only thing that looks alike is

    umbraco.macro.ReturnFromAlias

  • Christopher W. Brandsdal 72 posts 133 karma points
    Mar 10, 2011 @ 16:09
    Christopher W. Brandsdal
    0

    Worked like charm! Thanks. Come to think of it, I could have used a little more time searching the api. ;-)

Please Sign in or register to post replies

Write your reply to:

Draft