Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Oct 15, 2011 @ 14:38
    Craig100
    0

    Deleted script names still in "Insert Macro" dropdown

    Hi,

    I created a script in XSLT then deleted it and recreated it in Razor (several times). When I come to use the "Insert Macro" dropdown I see multiple instances of the same name. Shouldn't they have been deleted when the script was deleted? How can I clean this up?

    Cheers,

    Craig

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Oct 15, 2011 @ 15:29
    Jan Skovgaard
    0

    Hi Craig

    That's probably because you have not deleted the macro but just deleted the xslt file.

    When you create a xslt within the developer section in Umbraco there's automatically also being created a macro that holds a reference to the file, unless you uncheck this option during the creation process.

    Therefore you need to go into the developer section and expand the macro folder where you can see the macros available and then delete those you don't need anymore.

    Hope this helps.

    /Jan

  • Craig100 1136 posts 2523 karma points c-trib
    Oct 15, 2011 @ 15:39
    Craig100
    0

    Thanks Jan, never thought to look, but I will in future (blush),

    Craig

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Oct 15, 2011 @ 15:41
    Jan Skovgaard
    0

    Hi Craig

    You're very welcome - glad that it helped :-)

    Please remember to mark the issue as solved.

    /Jan

  • 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