Changes for page Suggest Widget

Last modified by Marius Dumitru Florea on 2022/04/19

From version 57.7
edited by Vincent Massol
on 2018/10/23
Change comment: fix image link
To version 57.8
edited by Vincent Massol
on 2018/10/23
Change comment: fix broken image link

Summary

Details

Page properties
Content
... ... @@ -70,7 +70,7 @@
70 70  
71 71  When the information you want to suggest is not available through a class field or you generate it using a custom query, you need to create a service (plain wiki page called with the ##get## action and with ##outputSyntax=plain## parameter in the url, for example: ##xwiki/bin/get/Space/Page?outputSyntax=plain##) that maps your results to the **xml** input accepted by the widget. For example, you can build a list of suggestions that contains the wiki page names within a certain space:
72 72  
73 -[[image:[email protected]]]
73 +[[image:Documentation.DevGuide.FrontendResources.AutoSuggestWidget.WebHome@customsuggest.png]]
74 74  
75 75  {{code}}
76 76  $!xwiki.jsx.use("DevGuide.AjaxSuggestCustomExample")

Get Connected