...
Macro Editor Label | Default | Description | Macro Parameter | ||
---|---|---|---|---|---|
Output format | html | Specify how the output is displayed. The options are as follows:
| output | ||
Page for attachment | Current page | Enter the location where the Excel files are available. The following locations are supported:
| page | ||
Name of attachment | Most recent Excel file uploaded to the current page | Enter the name of the attachment.
| name | ||
Profile | Enter a profile name. Contact your administrator to know which profiles are available for use in your instance. Administrators set up profiles to connect to external sources to render Excel data across multiple pages so that sensitive information like passwords and access tokens can be secured and hidden from view. A profile usually contains the base URL and other credentials that are required to access a specific location. Enter the relative path to the actual location of the Excel files in the field, URL to Excel file.
| profile | |||
URL to Excel file | Enter the URL of the Excel file(s) to be displayed. If you enter a valid path, the macro accesses the given location and renders the content from the specified Profile and URL.
| url | |||
URL connection timeout | Enter time in milliseconds such that URL connections do not timeout before getting data. Use this to increase the access time needed for slow connections. Note that if a zero is given, the connection may wait infinitely. | timeout | |||
Sheets to import | Enter a comma separated list of sheet names to be shown in the order specified here. By default, each sheet in the workbook produces a table. The parameter value can be a comma separated list of sheet names (case sensitive) or sheet numbers (1-based counting). | sheets | |||
Columns to show | Enter a comma separated list of column numbers in the order specified here. By default, all non-hidden columns are displayed in its existing order. Columns are enumerated starting at 1. If columns are specified, even hidden columns are shown.
| columns | |||
Show hidden sheets, rows, and columns | false | Enable this option to show hidden elements of the worksheet. | showHidden | ||
Show sheet name before the table | false | Enable this option to display the worksheet name before the table. | showSheetName | ||
Use cell properties for formatting | false | Enable this option to process each cell for special properties. Currently, supported properties are:
| formatCell | ||
Show non-formatted version of generated wiki | false | Enable this option to show a non-formatted version of the wiki table following the formatted table. This is used to help resolve formatting issues. It can also be used to convert Excel to Confluence markup by cut and paste. | showWiki | ||
Escape special wiki characters | false | Enable this option to allow these special characters (like '|', '[', ']', '{', '}') to be escaped so that the table format remains unaffected. This option works when a wiki output is requested (Output format is wiki) as some special characters in data can cause incorrect table formatting. The default is false so that the data that has wiki markup can be handled correctly. | escape | ||
Include cell hyperlinks | true | Disable this option to display any hyperlinks in the data as normal text. By default, any hyperlinks in the data are retained as is. | hyperlinks |
...