Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to globally edit the "in space" parameter for the Content by Label Macro?

Scott Derderian
Contributor
August 21, 2017

Here is my use case:

The contents of Space A (containing the Content by Label macro) were migrated to Space B.

However, the Content by Label Macro still shows Space A as the target macro - thereby causing the newly-migrated pages to Space B not showing up in the macro's output.

Any input would be appreciated.  

Thank you.

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2017

I just added a label to a page, set up the content by label macro to point at it, then moved the page to another space. The Content by Label macro still "found" the page on the other space.

I suspect an indexing issue on your instance. If it's hosted by you, please try reindexing from this guide:
Content Index Administration and if that doesn't work, rebuilding the content indexes from scratch as described in How to rebuild the content indexes from scratch on Confluence server

 
If this is a Cloud instance, you won't be able to reindex, so if the issue persists, please open a support request at https://getsupport.atlassian.com.
 
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2017

I just realized you set the "in space" parameter as you mentioned in the title of your question - sorry for the mistake.

There is no way to bulk update the macro in the UI. The cleanest way I can think of to do it would be by exporting the space to XML, doing a search and replace based on the macro and then re-importing the space.

Do you have too many pages with broken macros to update manually? You can see where the macro is used on the Confluence Admin>Macro Usage page.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events