Attachment Picker Macro
Last modified by Manuel Leduc on 2022/05/16 00:14
![]() | Provides an Attachment Picker Macro. |
Type | Other |
Category | |
Developed by | Unknown |
Active Installs | 406 |
Rating | |
License | Unknown |
Bundled With | XWiki Standard |
Compatibility | 14.4RC1+ |
Table of contents
Description
Provides a macro to search and select for an attachment. The results are presented in a grid.
Note: The results are retrieved from the document indexation. Not yet indexed content are not part of the returned search result.
Related widgets:
Usage
{{attachmentGalleryPicker/}}
{{attachmentGalleryPicker id="myid"/}}
{{attachmentGalleryPicker filter="image/*"/}}
{{attachmentGalleryPicker limit="5"/}}
{{attachmentGalleryPicker id="myid"/}}
{{attachmentGalleryPicker filter="image/*"/}}
{{attachmentGalleryPicker limit="5"/}}
Parameters
Name | Optional | Allowed values | Default value | Description |
---|---|---|---|---|
id | yes | valid syntax id | N/A | The id of the rendered attachment picker |
filter | yes | a comma separated list of mimetypes | N/A | The mimetypes used to filter the displayed search results |
limit | yes | a positive integer | 20 | The number of results displayed to the user |