Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Table excerpt in children display not rendered

Pramod Valavala April 4, 2018

I have a scenario which I believe is a valid use case but doesn't work.

Here is the scenario
1. I have child pages with tables in a 'Table Excerpt' macro
2. I use this table excerpt to create a pivot table in an 'Excerpt' macro on the same page
3. I then have a parent page with a 'Children Display' macro which is set to get all excerpts from child pages with 'Excerpt Display' set to 'rich content'

The weird thing is that the preview of the page shows the pivot tables as intended but when I save the page, then I just have messages with 'Oops, it seems that you need to place a table or a macro generating a table within the Pivot Table macro'

I am guessing I am missing something obvious or is this scenario not supported?

EDIT: Here are a few screenshots as requested

Editing the Child Pagechild_edit.PNGPreviewing the Child Pagechild_preview.PNGSaved Child Pagechild_saved.PNG

Similarly, there is another child page just like this.

Editing the Parent Pageparent_edit.PNGPreviewing the Parent Pageparent_preview.PNGSaved Parent Pageparent_saved.PNG

2 answers

2 votes
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2018

Hi Pramod,

Please, make some screenshots of the editor content of child and parent pages to see what can cause the issue.

Pramod Valavala April 5, 2018

I've updated the original question with screenshots

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2018

Try to put Table Excerpt macro inside Excerpt macro. I don't know why it works in the parent page preview, but it shouldn't, because Table Excerpt Include macro works only when there is Table Excerpt macro on the same page.

Pramod Valavala April 5, 2018

It is weird that the page preview works but on saving the page it doesn't.

I did try to put Table Excerpt macro inside Excerpt macro before which fixed the children display in the parent page but then I couldn't find a way to display the table on the same child page again.

Because I didn't want to have the source table show up in the parent page, I set the table excerpt to hide the table and then tried to use a 'Table Excerpt Include' on the same child page but guess that doesn't render a table on its own.

Is there a macro that just displays a table from the 'Table Excerpt Include'?

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2018

In order to reuse the table on the parent page you need to include it with Excerpt + Excerpt Include macros. To hide this table on the parent page you can place it within Pivot Table or Chart from Table macro with "hide source table" option checked or place it within Table Excerpt macro with "hide table" option checked.

I see here some similar solutions, but don't know what is the best in your case. You can contact Table Excerpt macro vendor support to get assistance with you case.

Pramod Valavala April 10, 2018

Sorry I couldn't get back sooner. Basically, this is what I am trying

  • Parent Page
    • Children Display
      • Excerpts with Just Pivot Tables (works)
  • Child Pages
    • Excerpt
      • Pivot Table
        • Source Table Excerpt Include
      • Source Table (hidden)
    • (Here I want to show the source table but not sure how)
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2018

I couldn't find a better solution than to:

  • Disable Hide the source table option in Table Excerpt macros.
  • Add HTML macro with CSS inside to the Parent page:
<style type="text/css">
.table-excerpt {
display: none;
}
</style>
2 votes
Alana Fernando
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2018

hi @Pramod Valavala,

 

I guess you are running in to CONFSERVER-31296 unfortunately this issue is already marked as resolved with won't fix resolution. :-( 

Pramod Valavala April 5, 2018

Yup. Seems like more or less the same problem. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events