View Excerpt Include (Table) Side by Side

Abhisek Dey November 3, 2021

Hi,
I have a very straightforward requirement - putting 2 excerpt-includes side by side. I am surprised to find that whenever the excerpted data are from tables, it goes to the left of the page, instead of side by side.

Something like this -
(Edit Mode)
Screen Shot 2021-11-03 at 2.34.24 AM.png

(View Mode)

Screen Shot 2021-11-03 at 2.49.49 AM.png

Few key points:

1. This happens only if there is a table in the excerpted element. As evident from the figure, "Source Page 1/2" are text within the same excerpts that contain Tables in the source pages. Text are displayed correctly.

2. I have tried using Page Layout, Section/Column for side-by-side view, but no success.

3. From Macro-side, I have tried almost ALL relevant ones i.e. excerpt-include, Table excerpt include, multi-excerpt include. And, put them in 2 separate sections/columns, page layout sections etc.

No matter what I do, I am not being able to view the excerpted table data side-by-side. Plz help!

P.S. Another weird thing is if I use Table Transformer Macro even in 2 different sections, it seems to combine both the tables based on the Column Name. Isn't the functionality of a Macro supposed to be contained within the section it is called in? How come 2 Macros (both Table Transformer in this case) from 2 different sections are getting merged into one output?

2 answers

2 accepted

2 votes
Answer accepted
Katerina Kovriga _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.
November 3, 2021

Hi @Abhisek Dey ,

As @Fabienne Gerhard has mentioned, you should use Columns inside of your Section macros. As official documentation says, "You should always have at least one column macro within a section macro".

We often use 2 or 3 Columns within the Section macro ourselves when we create different dashboards (we reuse one table and create different charts based on it using our Table Filter, Table Transformer and Chart from Table macros). The data inside one Column doesn't affect other Columns.

Here is a brief example with the Table Transformer macro (the third table is not merged to the first two tables):

Wed 7-1.png

Wed 7-2.png

So please try to use Columns inside of the Section macro and if the issue with the Table Transformer persists, attach your screenshots here.

0 votes
Answer accepted
Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 3, 2021

Hi @Abhisek Dey 

welcome to this wonderful community

Tables can be a strange thing - I feel you! 

What I would offer you as solution:

  • Don't use pagelayout -> instead use: columns for each of your tables and set them to 50%
  • Put a section around both of them Which will give you the Section back

This gives it back to you like this
Bildschirmfoto 2021-11-03 um 11.37.36.pngBildschirmfoto 2021-11-03 um 11.37.50.png

Hope this could help you and feel free to ask for more help!

Abhisek Dey November 3, 2021

Hi @Fabienne Gerhard

Thanks for the prompt response. However, when I mentioned "No matter what I do", I literally meant it! :P

Anyway, I actually tried with your solution before (didn't send screenshot) and now again. Unfortunately, I see this -

(Edit Mode)
Screen Shot 2021-11-03 at 4.05.20 AM.png

(View Mode)

Screen Shot 2021-11-03 at 4.05.37 AM.png

This is really weird! I can't think of any logical explanation behind this!
Need more help, I suppose! 🤞 

Katerina Kovriga _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.
November 3, 2021

Hi @Abhisek Dey ,

Here is an example of our complex live dashboard:

Edit mode

Wed 7-4.png

View mode

Wed 7-3.png

As you can see, we have plenty of macros inside the Column macro and everything looks correctly.

Your screenshot shows that even standard Confluence macros (Excerpt Include) don't work properly - maybe something is wrong with the page format? I mean maybe any special apps for custom styles, scripts, etc. can mess up the original layout?

Like Abhisek Dey likes this
Abhisek Dey November 3, 2021

Hi @Fabienne Gerhard

I think I somehow got what is causing this! I was using a CSV table in the excerpt at the source page and that CSV table Macro is actually a custom one (kinda in-house developed Add-on Macro). I tried with the Confluence built-in CSV table and it works fine!

So, I think I need to take care of this internally with the flow administrator. Nevertheless, thanks for your time and help.

Abhisek Dey November 3, 2021

Hi @Katerina Kovriga _Stiltsoft_

I think our responses crossed. Anyway, you are right! Something is fundamentally wrong from my end! 😇

I explained the situation in the last comment. I hope I'll be able to get it fixed internally. If I still feel something needs to be discussed here, I'm going to bug you guys further! 😜

Until then, thanks for all the valuable info and your help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events