REST Client module by enabling configured REST clients as:
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
The Magnolia UI Framework REST Extensions module is a DX Core Edition feature which complements the
- Datasources of subapps and UI elements such as the link field or combobox field.
- Search result suppliers for the Find Bar.
Installing
Maven is the easiest way to install the module. Add the following to your bundle:
Configuration
No configuration is required in this module. For REST Client configuration properties, see the REST Client module page.
Usage
Examples of using the UI Framework REST Extensions:
- REST search result suppliers for Periscope: Sample REST integration
- Example REST client configurations: Simple client configuration (Case 1b)
Handling offline datasources
The module provides two additional field types to handle offline datasources:
jsonLinkField
jsonComboBoxField
These types wrap the linkField
and comboBoxField
types, respectively, and check whether REST calls are working properly. If an error occurs, a label appears next to the component that uses the REST field type and the component is disabled.
Overview
Content Tools