I need to search for all pages that include the Pages Properties macro. I tried: macroName:page-properties but returned no results (I know for a fact that there should have returned lots of pages).
Any ideas?
Thanks!
You can see how many pages use this macro from the Confluence admin console:
It looks like those items are clickable.. hope this helps.
- Jonathan
When clicking the 'details', it will take you to a search results screen. From here, you will need to filter down to what you want to see.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks so much @Jonathan Smith . Unfortunately, I'm not a Confluence admin, I was looking for a way in which a regular user can obtain such info.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this link:
https://yourconfluenceURL/dosearchsite.action?cql=macro+%3D+%22details%22
- Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anxiously awaits @Victoria Reggiardo to try the link above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sweet! We both learned something today!
If you are satisfied with the answer, please vote and accept this thread.
Thanks,
Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry but I'm not a coder at all, what should I change if I want to search for another macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, what part of the URL defines the Page Properties macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://yourconfluenceURL/dosearchsite.action?cql=macro+%3D+%22details%22
Other examples:
Attachments macro
https://yourconfluenceurl/dosearchsite.action?cql=macro+%3D+%22attachments%22
Info macro
https://yourconfluenceurl/dosearchsite.action?cql=macro+%3D+%22info%22
Your admin should be able to supply the desired URLs for other macros if needed.
- Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think your going to be able to 100% guess the URLs. Some like page properties macro say "details" in the URL..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Jonathan Smith an option for admin I didn't use yet :) - maybe a tip for everyone using macroName: nameofmacro* check out the correct name of the macro with your browser using F12 cause search is really really a *miau* here ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Victoria Reggiardo ,
What is your purpose for searching for pages with this macro?
Reminder: Page Properties Report macro + page label would populate a dashboard with contents from those desired pages.
- Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We want to know the number of pages that use that specific macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note: Since your search had special characters, you might have to put quotes around that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply, macroName:"page-properties" is not working either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Way too late for the original question, but I'll add it for future Googlers. Use the following in a search field:
macroName:details*
The technical name of the page properties macro is "details" not "page-properties". The * is needed to prevent possible search problems. See https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html
Tested and used in Confluence Server 7.8.3
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.