How to get data from a table stored on a wiki page?

I want to create a table on a WIKI page containing data and then pull data out of this table to use on other WIKI pages within the same space. I have created my table page using the table-data macro but cannot figure out how to pull data from it.

Anyone know how to do this or have a reference they can point me to?


5 answers

If you only want to pull out selective information from the table (for example, one row, or one cell in a row), then you could use jQuery.

0 votes

If that table is the only one in the page, you can use the include page macro.

I don't want to replicate the table on other wiki pages, I want to selectively pull data out of table cells to display on other wiki pages.

For example, each row contains dates for a project. There will be unique project wiki pages that I want to be able to reference dates stored in a master table containing dates for all projects. This way only the master table needs to get updated and the individual project wiki pages will update based on values in the table.

jQuery is not a macro we have installed with out confluence WIKI so unfortunately that is not an option.

I tried using the get-data macro but I am not sure how to reference the cells in the table with it nor do I know if it will work across pages.

In a simple experiment I did the following all on same WIKI page:



In this example get-data retrieves "pickle". But I was not able to use get-data on another WIKI page to retrieve the test_field value.

I cannot find much info that details out how field data is handled, what is local to a page versus global to a space, how to address fields, etc.

If anyone knows how to pull data from one page to another, I would really appreciate it.


When I try to use jQuery by putting {jQuery} on page, I get an unknown macro message. Not listed in macros I can insert either when using rich text edit mode with toolbar.

I think you're trying to do something that Confluence/static HTML is not meant to do.

That being said, are you sure you can't use jQuery? It's built in by default. If you have the HTML macro enabled, you can use it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

477 views 3 18
Read article

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