Table of Contents
Adding an HTML control (web widget) to a metadata editor
Table of Contents
When configuring the appearance and functionality of a metadata editor, you can also add a web widget to the layout to render HTML content from a web server. The web widget is associated with a URL that can be either static or query a backend server to dynamically display content.
Adding a web widget to the layout

Edit the layout of a metadata editor either via the program configuration or by opening the editor and pressing Ctrl-E to open edit mode.
Access the Editor Items in the left-hand side column and choose Other Items from the dropdown list. Then drag the Web widget onto the editor layout.
Configuring the web widget
Select the web widget in the layout by clicking on it and open the Item properties in the left-hand side column.

In the URL field, enter the URL or query to pass to the web server.
The URL can contain references to metadata fields to dynamically add content to the URL, for example, like this:
https://webserver.com/Search?query=#005
In this example, the query will insert the content of metadata field #005 - Title.
It is also possible to pass the content of bag fields, for example, the Keywords field (#025), like this:
https://webserver.com/Search?query=#025
Bag fields are special in the sense that a user can highlight an entry in the bag field in the metadata editor to query the web server with that entry. If no entry is currently selected in the bag field, the first entry is used in the query.
Show reload button: If the URL contains references to metadata, adding a reload button next to the web widget can be useful. Use it to refresh the page whenever the referenced field changes.