I'm trying to conceal certain panels and page properties across 300 Confluence pages. These pages were initially deployed using a template, but the template is currently malfunctioning with several issues. Does anyone have a viable solution for managing this type of requirement in Confluence?
I'm currently exploring ScriptRunner, but any assistance or guidance would be greatly appreciated.
Ive created a JavaScript which is incorporated into an HTML Macro, designed to conceal panels on a page. The macro has been implemented on several pages through a Groovy script using ScriptRunner. However it's important to note that this method has a limitation to users with page editing rights are still able to see the panel.
@Reid Watson Welcome to the Atlassian Community!
Are you using Confluence Cloud or Data Center?
I don't know about Data Center, but, in Cloud, once you create a page from a template, the page is not connected to the template anymore and changes or issues with the template do no affect the page. You also cannot apply a template to existing pages.
I think you are saying that you need to change the content displayed on all of these pages in the same way. What exactly you need to accomplish may affect what third-party app would work best for you.
When you say you need to "conceal" panels and page properties, it sounds like you want to hide them (don't think this can be done), rather than remove them. Please provide more detail on what you want to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response. I have developed a JavaScript code that is embedded within an HTML Macro to hide panels within a page. This macro has been deployed across multiple pages using a Groovy script within ScriptRunner.
The sole limitation is that users with page editing permissions can view the panel.
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.