Mybanner |
---|
This version of the app's documentation is outdated. Please find the information you're looking for here: |
The Table Excerpt and Table Excerpt Include macros combine different kinds of table excerption and multi-excerption in one tool:
- excerption within one page
- multi-excerption within multiple pages and spaces searched by:
- page names
- page trees
- labels
The macros improve the performance of pages storing large tables and let you use the original tables for any purpose, including filtering, building multiple charts and pivot tables.
The macros are available in Confluence Server and Data Center.
Widget Connector | ||||||
---|---|---|---|---|---|---|
|
Why should I use these macros?
When you build multiple pivot tables and charts from table ➜
Multiple copies of a large source table within one page cause reducing of processing speed ➜
Inserting references to a source table with the Table Excerpt/Table Excerpt Include macros leads to continued productivity.
Table of Contents | ||||
---|---|---|---|---|
|
These macros were designed to improve the performance and response of pages storing large tables. You can work with the original table without creating multiple copies of it for building several pivot tables or charts on its basis.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Table Excerpt and Table Excerpt Include macros allow you to work with the one source table for generating multiple pivot tables and charts on its basis. These macros do not create a copy of the same table on your page as you continue working with the original table as is. You need to mark a table that you want to use as a source for building multiple pivot tables and charts in different places of your page. After this you can reference this table with the Table Excerpt Include macro. Unlike the Include Page and Excerpt Include macros, the Table Excerpt Include macro will not render another copy of the table after the page saving. Please consider this while inserting the combination of these macros on your page. The Table Excerpt Include macro should be placed within the Pivot Table or Chart from Table macro. If you place the Table Excerpt Include macro on a page as is without wrapping it into the Pivot Table or Chart from Table macro, you will not get another copy of the original table. For rendering a copy of the same table use the Include Page or Excerpt Include macros. |
Using the Table Excerpt Macro
To addAdding the Table Excerpt macro to a page:
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
- Enter the unique identifier for the macro.
- Click Insert.
Tip |
---|
You will be able to reference the marked table by inserting the Table Excerpt Include macro and entering the specified unique name. |
Tip |
---|
Speeding up macro entry with autocomplete: |
type { and the beginning of the macro name 'Table Excerpt", to see a list of suggested macros. Select the Table Excerpt macro from the prompted results |
. |
Adding a Table into the Table Excerpt Macro:
- Copy (cut) a table.
- Paste the table into the Table Excerpt macro placeholder.
Configuring Parameters of the Table Excerpt Macro
- Select the macro placeholder.
- Click Edit.
- Enter a unique name for the current macro instance.
- Click Save.
You will be able to reference the marked table by inserting the Table Excerpt Include macro and entering the specified unique name. You can refer only to the Table Excerpt macros stored on the same page which the Table Excerpt Include macro is placed on.
Handy Carousel | ||||
---|---|---|---|---|
| ||||
|
Using the Table Excerpt Include Macro
To addAdding the Table Excerpt Include
macroMacro to a
pagePage and Specifying the Settings:
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
- Specify the settings:
- Enter the
- Excerpt name of the macro.
- Select the Excerpt source to define the pages containing the Table Excerpt macro:
- Current page
- Specific page (specify the page title)
- Page and childpages (specify the page title)
- Page and all descendants (specify the page title)
- Pages with labels (specify the page labels and the space title) - If you select the Current page option, select the Show copy of source table checkbox in case you want to show a copy of a source table in the page view mode.
- Click Insert.
Tip |
---|
Speeding up macro entry with autocomplete: |
type { and the beginning of the macro name 'Table Excerpt Include', to see a list of suggested macros. Select the Table Excerpt Include macro from the prompted results. |
To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Tip |
---|
You can use the Table Excerpt Include macro withing one page without showing the source table in combination with the Pivot Table and Chart from Table macros because a pivot table and a chart can be built without displaying a source table. On the other hand, if you want to use the Table Excerpt Include macro within one page in combination with the Table Filter macro you need to select the "Show copy of source table" checkbox because this macro requires a table for its correct work. |
Handy Carousel | ||||
---|---|---|---|---|
| ||||
|
Configuring Parameters of the Table Excerpt Include Macro
- Select the macro placeholder.
- Click Edit.
- Enter a unique name of the Table Excerpt macro for outputting a specific table on the page.
- Click Save.
Using the Same Table for Generating Multiple Charts
- Insert the Table Excerpt macro on the page.
- Place the table on the basis of which you want to build multiple charts or generate multiple pivot tables within the Table Excerpt macro.
- Enter the unique name for the Table Excerpt macro.
- Insert multiple instances of the Pivot Table and Chart from Table macrosand place the source table into the macro body according to the instructions above.
- Insert the Table Excerpt Include macro and entert the unique name of the Table Excerpt macro (to reference it).Place the Table Excerpt Include macro into the combination of the Pivot Table and according to the instructions above and place it into the Table Filter, Pivot Table or Chart from Table macros or their combination.
- Adjust the parameters of the filtering, pivot tables and charts.
- Save the page.
As the result, you will receive multiple charts generated on the basis of the same data table from multiple pages.