In this post, we’re going to look at one of my favourite macros the ‘include page‘ macro

What can this macro do for us? the include page macro is super powerful, it allows you to take a page in somewhere in the space or even in another space, then surface that content within another page. Think of it as iFraming one page into another. The macro allows you to build out sophisticated page layouts.

Where I have found this particularly useful is when you have content that you regularly update on one page, yet need to surface that same information on another page. Instead of having to repeat yourself you can use this simple tactic, mitigating human error due to duplication of work.

In this tutorial, we’re going to suppose that we have a high-level timings page for a project and that we need to show these timings on a separate programme status page.
Traditionally you may have had two independent pages, one for the project and one for the programme status page. However, you’d need to keep them both in sync. That means if a date shifts on the project then you’ll need to update the date in two places. This may lead to human error and miscommunication of project timings. A better approach would be to use the Include page macro and include the project timings page in the programme status page. That way, when you update the timings on the project page, the updates will be shown on the programme status page. Let’s do just that!

Here’s the end result, a programme status page that pulls in the external project timings page.


Below we have a programme status page and we wish to include the project timings in the section highlighted in red.


Here is the separate project timings page that we want to include into the programme status page above.


Go into edit mode for the page you want to include the external page and pull up the macro’s dialogue screen.light-many-fires-confluence-include-page-macro-open-macros

From the macro’s dialogue search for “include page” then select the macro.


Start typing the title of the page you’d like to include, you should see the page title in the predictive search results. Once it becomes visible, select it.


To ensure that you have the correct page, click on the preview option. Once you’ve confirmed that you have selected the correct page hit “insert”


You should now see the macro displayed within your page. Now hit save.


We have now arrived at our desired result. Pretty easy! Now every time we make a change in the project timings page, it will be reflected in the programme status page.


Pro Tip: You’re not constrained to only pull in one page using this macro. By using the include page macro multiple times you can build up comprehensive pages. For example, you could build up a project status page using a configuration as seen below.


As always, I hope you found this post useful. If you have any friends or colleagues that would also enjoy this article, please share it with them!

If you have any questions or comments, please leave them in the comments section below. I’ll get back to you as soon as I can.


Posted by Liam Holmes