Macro To List Table Cell Contents

We use confluence to document IT systems for our clients.  We create pages which contain IP addresses for various pieces of equipment.  I was wondering if there is way to tag the IP address on those pages and then insert a macro in a parent page that would list all the IP's.  

For example, i have a page for a router with an IP address on it.   Then I have a page with a server that has an IP on it.  On another page can I insert a macro that will make a list of those IP's.

3 answers

1 vote
Davin Studer Community Champion Dec 19, 2014

Have you looked at the page properties and page properties reports macros. I think that will do what you want. On your child pages you would put in a table with two columns the left column is the key and the right is the value. Surround that with a page properties macro. See below screenshot.

image2014-12-19 9:23:30.png

Next add a label to the child page. Something like server-page.

image2014-12-19 9:24:34.png

On your parent page add a page properties report macro and restrict to to using the server-page label.

image2014-12-19 9:26:2.png

When you view the parent page you should see something like this. You can add more key/value pairs to the child page table as well to see more columns in the report.

image2014-12-19 9:27:51.png

The usual "page include" does not work for you?

You can try something like (you tag what you want to make as "excerpt" and then reference it from another page(s))


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,083 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you