Nuxeo Server

How to Use a Generic Widget in Layouts

Updated: October 13, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

The Nuxeo Platform framework and its "Layout" module offers many widget types. Some are exposed directly in Studio interface, but some are not. If you want to use one of those existing widgets in Studio when editing a layout, you should drop a generic widget from the "Advanced Widgets" category on the right, as in the screenshot below:

You should then fill the proper type attribute in widget configuration screen (among the existing one or by giving the id of the one you target) and the widget properties in the Custom properties section.

 

Binding Fields from the document to the widget

Let's say that the widget needs to be linked to the metadata description from the schema dublincore (prefix dc), you can click on Add next to "Fields" and enter the field but syntax will differ whether you are on a form layout or a table layout.

  • Form Layout: dc:description
  • Table Layout: data.dc.description

 

9 days ago manonlumeau NXDOC-1346-FT review screenshot
3 years ago Solen Guitter 9
3 years ago Solen Guitter 10
3 years ago Manon Lumeau 8
3 years ago Manon Lumeau 7
3 years ago Manon Lumeau 6
4 years ago Solen Guitter 5
4 years ago Frédéric Vadon 4 | added syntax to bind to fields
6 years ago Alain Escaffre 2
6 years ago Alain Escaffre 3 | Migrated to Confluence 4.0
6 years ago Alain Escaffre 1
History: Created by Alain Escaffre