Dataverse Integration Fields Binding
The plugin previously known as Dataverse Integration has been renamed to DataPress. This change reflects our commitment to enhancing user experience and aligning with our evolving product vision. All references to Dataverse Integration in the documentation, user interface will be updated to DataPress.
Display column value using Dataverse Integration Fields Binding!
Introduction
Premium feature! This feature is available in the addon to the premium extension.
With the Dataverse Integration Fields Binding plugin available in the Addons, you can work with custom fields, allowing you to display any text before displaying the field value and formatting the field value.
To use this plugin, follow the steps below:
- Create a page, click
Preferences
, and open thePanel
settings. - Add extra areas to the editor by choosing
Custom fields
option. ClickEnable & Reload
to see the Custom fields section. - At the bottom of the page, create a name for custom field(s). Save and publish the page.
- Go to the pages list, find the page you created and click
Configure Binding
to choose the table to bind. - In the Dataverse Admin Area, go to
Bindings
->Fields Binding
. Here, you can set pre-rendering Twig code that will execute before rendering Twig expression substitution. You can use it to retrieve data, define variables, etc. - Click
Create Binding
, and choose the page that was created earlier. Then selectAdd Field
and choose the custom field created for the page.
Additionally, the following options will replace a field:
- Twig Expression (type Twig expression to display it as the field value)
- Column (choose the column logical name from the drop-down)
- Twig Template (choose the Twig template, which is in Templates -> Twig templates)
- Formatted Column (choose the column logical name from the drop-down).
Add the output of the meta field to your template:
<?= get_post_meta( get_the_ID(), '{fieldName}', true ); ?>