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

This widget could not be displayed.
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

This widget could not be displayed.

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

You can try something like https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro (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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

406 views 4 6
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