Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 1 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | pipe |
---|
|
|
Overview
This page demonstrates how to use the Attachment Table macro, which is part of the Advanced Tables for Confluence add-on, along with the Attachments macro.
The Attachment Table macro doesn't support an option to include a drag and drop area like when using the Attachments macro. However, this can still be accomplished on a page by using a combination of the Attachment Table macro and the Attachments macro. The drag and drop area is a convenient way to add attachments to the existing page.
Steps
Table plus |
---|
highlightColor | #ffffec |
---|
rowStyles | background:#f0f0f0;color:#222;font-size:14px;border-bottom:black 2px solid;border-top:black 2px solid;, |
---|
style | background-color:white; |
---|
autoNumber | true |
---|
|
Step | Notes |
---|
Add the Attachment Table macro to the page like normal | Specify optional parameters | Add a Table Plus macro after the Attachment Table | | Specify H,H,H for the Column types parameter of the Table Plus macro | This will hide 3 columns of any table | Inside the Table Plus macro, add an Attachments macro | | Specify selection criteria on the Attachments macro that is unlikely to be met | Example: Attachment Labels = xxxxxxxxxx | Ensure Allow upload is checked on the Attachments macro | |
|
Example Result
Live Example
This example is limited by the fact that most viewers of this page do not have permission to add attachments . So, no drag and drop area will be shown. See the image that follows instead.
Attachment table |
---|
columns | File, Size, Creator, Created, Thumbnail |
---|
|
Example screenshot showing the drag and drop area
Image Modified
Other Examples
Visit our full list of product examples for additional inspiration!
Include Page |
---|
| _SupportFooter |
---|
| _SupportFooter |
---|
|
...