Is it possible to include page title as a column when using table excerpt
Asked by Thomas Heggeb?:

We have much information from different pages that would be useful to collect in a single table. Using "table excerpt" macro with "table transformer macro" I am able to merge the table with the columns I need. The one thing I am not able to do is to automatically add the page title with a link to the page where the row originated. Is this possible or do anyone have a nice walk around? This would make concatenating of data much easier and better

Here are some screenshots of the setup used![4.png](https://community.atlassian.com/t5/image/serverpage/image-id/106303iD12E6069DE3607CC/image-dimensions/402x262?v=v2 "4.png")

![1.png](https://community.atlassian.com/t5/image/serverpage/image-id/106298iFEAFB100280ED639/image-dimensions/467x155?v=v2 "1.png")![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/106299i703B6F491AC49284/image-dimensions/360x142?v=v2 "2.png")

Example of the end result I am looking for

![3.png](https://community.atlassian.com/t5/image/serverpage/image-id/106302i77087894227DBC19/image-dimensions/488x156?v=v2 "3.png")


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Thomas Heggeb?](/t5/user/viewprofilepage/user-id/4040582)   

Currently there is no such an option, but we have it in our roadmap.  
Here is a workaround that might work for you:

1. Wrap each table (Table Excerpt Include) with Table Transformer macro.
2. Add a table with two cells (heading and page name) within the macro
3. Insert link to the page name if needed.  
   ![](https://stiltsoft.atlassian.net/secure/attachment/39390/39390_1569616329956-image.png)
4. Write this query

```
SELECT * FROM T1 OUTER JOIN T2
```

4. And get the resulting table  
![](https://stiltsoft.atlassian.net/secure/attachment/39389/39389_1569616551508-image.png)  

Best regards,  
Katerina

comments: author: Katerina Kovriga {Stiltsoft}
body: Hi [@Thomas Heggeb?](/t5/user/viewprofilepage/user-id/4040582) , here is our latest update for the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros: now you can show page titles of included tables automatically.

Just tick the **Show page titles of included tables** field and you'll see the links to the pages with Excerpt macros:

![Mon 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/127834i54B53673C15C58A7/image-size/large?v=v2&px=999 "Mon 2-1.png")


author: Magandeep Singh Bedi
body: Hi,

If I want to wrap 'Table Excerpt Include' inside the Table transformer and use SQL Query example:

**SELECT \*, ....FROM T1**

it is displaying **"Page"**column but if I use following:

**SELECT T1.Col1,T1.Col2, ....FROM T1**

it is not displaying '**Page'**column, how can I get page link?


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Magandeep Singh Bedi](/t5/user/viewprofilepage/user-id/4485965) ,

I've checked both on Server and Cloud instances, the Table Transformer macro recognizes all the page meta data columns perfectly well.

Here is an example for Server:

![Thu 11-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/152298i05486C5B231FAAB1/image-size/large?v=v2&px=999 "Thu 11-1.png")

![Thu 11-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/152300i7AEF30BDA47AE010/image-size/large?v=v2&px=999 "Thu 11-2.png")

![Thu 11-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/152301i247C78FD4C64E2E9/image-size/large?v=v2&px=999 "Thu 11-3.png")

![Thu 11-4.png](https://community.atlassian.com/t5/image/serverpage/image-id/152302i75707E8016681D99/image-size/large?v=v2&px=999 "Thu 11-4.png")

And here is an example for Cloud:

![Thu 11-5.png](https://community.atlassian.com/t5/image/serverpage/image-id/152303i1430D1FA88C5490C/image-size/large?v=v2&px=999 "Thu 11-5.png")

![Thu 11-6.png](https://community.atlassian.com/t5/image/serverpage/image-id/152304i421A39ACB6496B96/image-size/large?v=v2&px=999 "Thu 11-6.png")

![Thu 11-7.png](https://community.atlassian.com/t5/image/serverpage/image-id/152305i1B622812D7788735/image-size/large?v=v2&px=999 "Thu 11-7.png")

Please check your SQL query and make sure that you list your columns containing the meta data information.

If nothing helps, you may raise a support ticket [here](https://jsd.stiltsoft.com/servicedesk/customer/portal/2/user/login?destination=portal%2F2) (attach the screenshots and page storage format (upper right corner -\> menu ... -\> View page storage format)).


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Thomas Heggeb?](/t5/user/viewprofilepage/user-id/4040582) ,

To collect page titles you may use the Page Properties Report (PPR) macro. Our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app works with it just fine. See the examples [here](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+the+app+with+the+Page+Properties+Report+macro). You can filter your PPR and merge it with other tables.


Tags: cloud

stiltsoft

table-excerpt-macro