Suggestions for Attachment Does Not Exist

Last modified by Vincent Massol on 2019/06/06

Provides a suggestion mechanism for the "Attachment Does Not Exist" view

Usage

This Extension Point allows implementing a suggestion mechanism that will be displayed when an attachment is not found (i.e. inside the attachmentdoesnotexist.vm template file).

search-attachmentdoesnotexist-uixp.png

Definition

This Extension Point is contributed by this extension and was added in version 8.3-milestone-1 of that extension.

Category
Page Layout
Extension Id
org.xwiki.platform.search.ui.attachmentdoesnotexist
Content to be provided

The code implementing the suggestion mechanism using the current attachment reference.

Parameters to be provided
  • order: the order in which the extension will be considered for being used. In case there are more than 1 extensions implementing this UIXP, the extension with the lowest order value will be selected and displayed. All others are ignored. This can also be used to override the currently active extension, should that be needed. Examples of correct orders: 10000, 20000. The currently known implementations orders:
    Solr Suggestions for Attachment Does Not Exist10000
Tags:
   

Get Connected