cogDisplay an attachment picker.
TypeJAR
CategoryMacro
Developed by

XWiki Development Team

Active Installs315
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard

Compatibility

14.4RC1+

Installable with the Extension Manager

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"/}}

Parameters

NameOptionalAllowed valuesDefault valueDescription
idyesvalid syntax idN/AThe id of the rendered attachment picker
filteryesa comma separated list of mimetypesN/AThe mimetypes used to filter the displayed search results
limityesa positive integer20The number of results displayed to the user

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Dependencies

Dependencies for this extension (org.xwiki.platform:xwiki-platform-attachment-picker-macro 14.10):

Tags:
    

Get Connected