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?
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.
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
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
Thanks Jan, never thought to look, but I will in future (blush),
Craig
Hi Craig
You're very welcome - glad that it helped :-)
Please remember to mark the issue as solved.
/Jan
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.