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 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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

844 views 41 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