Using SQL to update the status and why Page Properties report could not get the lastest status ?
Asked by Lawrance Huang:

Hi Everybody ,

I need your help on this problem.

I am using Page properties and Page properties report in confluence.

when I used SQL to update the status in Page Properties and then used Page properties report to sync allover summary from page properties.

why Page properties report could not get the lastest status (This status changed by SQL)?? Anyone can help me to fix thsi problem ? very grateful

page properties :

the status is "123".

![1.JPG](/t5/image/serverpage/image-id/277407iAE50A1B9FF3767FC/image-size/large?v=v2&px=999 "1.JPG")

Using SQL to update the Auto-track Status Date to "Very late"

![1-1.JPG](/t5/image/serverpage/image-id/277406iFF1CEFDAABF7997D/image-size/large?v=v2&px=999 "1-1.JPG")

page properties as below , (after SQL )

![2.JPG](/t5/image/serverpage/image-id/277405iADE402FC48B292D2/image-size/large?v=v2&px=999 "2.JPG")

Page properties report as below ? why could not get lastest status "Very late"

Page properties report![5.JPG](/t5/image/serverpage/image-id/277408i14591B708BD90166/image-size/large?v=v2&px=999 "5.JPG")


Answers:
author: Stiltsoft support
body: Hi [@Lawrance Huang](/t5/user/viewprofilepage/user-id/4712573) ,

Seems that such complex construction is a bit overloaded for the standard Page Properties Report macro.

You may collect your tables using the Table Excerpt/Table Excerpt Include macros that work as an advanced version of the Page Properties/Page Properties Report macros (you can tick the "Show as a report table" option and collect your source tables by labels, pages and child pages, pages and descendants and show various types of source page metadata).

And as I see that you use three Table Transformer macros in a row, you may refer to [our support](https://stiltsoft.atlassian.net/servicedesk/customer/portal/14). Please attach your page storage format: we'll recreate your macros with all the settings and SQL queries and try to simplify the case.

comments: author: Lawrance Huang
body: Hi [Stiltsoft support](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5062270)

I tried your suggestion way.

But still not workable.

Would you help me to find others way to solve this problem ?

![1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/277670i340FE17A9DF97838/image-size/large?v=v2&px=999 "1.JPG")![2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/277669iAD7D8B172610FED0/image-size/large?v=v2&px=999 "2.JPG")


author: Stiltsoft support
body: Hi [@Lawrance Huang](/t5/user/viewprofilepage/user-id/4712573) ,

Please refer to our [support](https://stiltsoft.atlassian.net/servicedesk/customer/portal/14).

Attach page storage formats of the two pages: your master page where you collect your report and one of your child pages.

From your screenshot I see that smth is still wrong: your Table Excerpt Include macro is wrapped in the Page Properties macro. And you need to collect your tables via the Table Excerpt Include macro only.

On the upper screenshot you've chosen the name of your Table Excerpts (ABS), then you choose from what pages you need to collect your Table Excerpts (pages with specific labels, child pages, etc.) and then you tick the "Show as a report table" option.

The Table Excerpt Include macro then collects all your Table Excerpts with the ABS names and builds a master report. You don't need Page Properties/Page Properties Report macros for the case at all.


author: Lawrance Huang
body: Thanks. [Stiltsoft support](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5062270)

I got it. I will use Table Excerpt Include macro to replace Page properties Marco.

Thanks for the help.


Tags: confluence-server

filter

server

table