Query page table in search result


We are new to Confluence and would like to know how we can query a table on a page to show only the records from the table that match a certain criteria.

For example, I have attached an image that shows a simple table where we would like to show in a search or report the rows only that the "system team" = "Warehouse Staff".

Also, could this be done against many pages based on the same user template?

confluence table query sample.png

2 answers

0 votes
Stephen Deutsch Community Champion Dec 11, 2017

There's a couple of apps you can use to filter tables:

https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview - for Cloud and Server, paid

https://marketplace.atlassian.com/plugins/com.mute.confluence.plugins.xTables/server/overview - for Server, free

As far as doing it against multiple pages, I'm not sure if that would be possible.

Thanks Stephen, I will contact StilSoft to check if they can assist.

I see two possible solutions for filtering tables on multiple pages:

  1. You can create a page template with Table Filter macro with predefined filters and a sample table to fill in. Then users can create such pages with filters.
  2. You can create one page with Table Filter macro and a number of Page Include macros (or Excerpt Include macros) which will include all the tables you want to filter.

Thanks Andrey, I will pass this onto our developer to test.  Thanks for taking the time to respond.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago 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...

86 views 0 11
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