How to Use Page Properties Macros in Atlassian Confluence
Confluence spaces are set up – Check. You structured your page trees – Check. Only key stakeholders can view your sensitive information through space permissions and page restrictions – Check. Information that was once in silos is now available to the right people – Check. Gone are the days when employees searched for key information in email and Google drive. The office is buzzing with excitement about how easy it is to collaborate and how great it is to have a single place for all company information. Users are updating content and creating new content daily, if not hourly. Confluence adoption is an organization-wide success. But then it happens…
“How can I see all of my projects’ information in one place, at a glance?” “When I search for ‘Project ABC’ status I get over 20 results, and I can’t find the right page!” “Which project deadline is the earliest?”
The joy of collaboration has vanished and in its place appears frustration, annoyance, and defeat.
Frequently Overlooked Macro Solution
Introducing the page properties and page properties report macros. These two macros are perhaps the most useful and underutilized macros in Confluence. They look and sound complex, but in fact – they’re not. These are the macros that you see in a lot of blueprints such as product requirement and decisions blueprints. They allow you to take any content and display it on another page. An experience Confluence user might be thinking: “Wait, how is this any different from the Excerpt and Excerpt Include macros?” The Excerpt macro does in fact take part of a page and allows you to display it on another page with the Excerpt Include, which is similar to what the page properties and page properties report macro do. The latter two macros, however, can take things a bit further and provide an organized index for your users to find information quickly.
How to Use These Macros
To use these macros you must first create a page with a table on it. In the left column of your table insert the headings you would like to appear on the index page. Try to use only the most important information that summarizes the contents of the page. The table on your input page should look something like this:
Macros within the Macro
It’s possible to further extend this macro by inserting macros within this macro. One powerful example of this is the Status macro which allows you to have a better looking status than the one shown above.
Customization with Blueprints and Templates
When you begin to create a page, by clicking … (on server) or “+” (on cloud), you will notice a list of valuable out-of-the-box templates that Atlassian provides. Confluence has a lot of blueprints and templates that are useful. These include templates like Meeting Notes, How-to Article, Project Plan, and Product Requirements to name just a few. Read more about the difference between blueprints and templates here. Many of these templates already contain the Page Properties macro and create an index page with the Page Properties Report macro. However, every team is different. If you find your users creating the same pages over and over again, it is a good idea to create a template or blueprint for them. If you can’t find what you are looking for in the out-of-the-box list, you can create your own. Once you begin to create a page and realize the template you need is not available, there is an option to “add or customize blueprints for a selected space”. If you click this option you will be taken to the Content Tools section of the space administration in whichever space you are in. Here, you will see a list of all the out-of-the-box Confluence Blueprints that are offered and display any template that a potential add-on have given you.
On this page you can edit or promote these blueprints as you see fit. Another option on this page is to “Create a New Template”. This is slightly different than creating a blueprint. Blueprints require more development effort but also more possibilities for customizations. You can read more about creating your own blueprint here. Alternatively, you might find it easier to use a third party plugin such as Blueprint Creator to create blueprints.
Once you decide to create a new template, you should strongly consider using the Page Properties macro if you think you will be using this template more than a few times. By inserting a table on the page and surrounding it with the Page Properties macro, all of your users’ pages that are created by this template will have the aggregated information where your corresponding Page Properties Report macro is. To take this one step further, you can insert variables into your table that is in your Page Properties Report macro. Variables create a form-like field which users fill in with information. This keeps everything clear and easy for users as they enter information into your template. The information you need in your corresponding Page Properties Report macro will be impossible for users to miss if they are added as variables. Templates allow all your project managers to use the same company customized page to plan projects and keeps all information in one place. By customizing a template or blueprint, it will help reduce the risk of human error (of inputting information) and keep your information clean, as well as easily available.
Samples of How to Use Blueprints and Templates
From a project management perspective, Andrew Maker uses these macros extensively and details how to make your first Confluence Project Management Dashboard in this article from the Atlassian community. Templates allow HR teams to have pages for each employee to keep the important information for every employee on one page. Another use case of templates with the Page Properties macros is keeping a list of all company departments in a single building. You could quickly find who is responsible for each department and who you would need to get in touch with if you needed to talk to someone in that department. In this case, a Confluence template serves as your internal directory. A final example could be a sales team that has a page for each potential customer. They can use a template with the Page Properties macro surrounding the customer information and see a neat list of all their customers and potential customers on one page. The sales team could use the Status macro within the Page Properties macro to quickly see if the customer is a lead or a current customer. The power of the Page Properties and the Page Properties Report macros provides an endless stream of use cases and possibilities for your team. Templates boost this power by reducing the human labor and keeping things streamlined and concise.
Want More Confluence Macro Tips? Make sure to read, “How to Use Basic Confluence Macros in an Advanced Way” or contact us to learn about our Atlassian training solutions.