Our confluence system will be migrated to another instance soon. I've been asked to test my pages on a test-system. There some plugins seem not to be installed. On my pages (using those not installed macros) that is indicated by "unknown macro: '<macroname>'".
As there are hundreds of pages I would like to automate my search and get the pages containing this error displayed directly.
Con you help me?
You can't search for "unknown macro", as there's nothing to search for. The display of "unknown macro" really is just a display meaning "you've removed the macro functions so I don't know what to do with this directive"
You will need to open up the source view of a page showing this error, find the bit naming the macro and then search for that. That still may not work, you usually have to have the plugin that provided it installed (even if it's unlicenced), or you can cheat a little and create a user macro with that name. You'll then be able to search for it.
Hi, I have a kind of a solution for you.
You need to install the Search And Replace plugin (it work on our 7.13.7 version). It's not expensive (and very usefull by the way).
With that you can search content in the Storage Format directly. So when you find an "unknown macro", go to the Storage Format of the page, get its "ac name" parameter. Then go in the plugin and search for that, it will find all the occurence of this macro.
You can search in a Space or in the whole instance (for you case the space is sufficent).
And you can replace the macro name if you want with this plugin or exceprt its content to put it in simple text. (plugin is very usefull as i told you).
So with that you can find all the occurence of an already find Unknown macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.