Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
not sure but only thing that looks alike is
umbraco.macro.ReturnFromAlias
Worked like charm! Thanks. Come to think of it, I could have used a little more time searching the api. ;-)
is working on a reply...
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.
Continue discussion
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
not sure but only thing that looks alike is
umbraco.macro.ReturnFromAlias
Worked like charm! Thanks. Come to think of it, I could have used a little more time searching the api. ;-)
is working on a reply...
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.