How to add Record Producer Variable Set in Data Table Widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 02:58 AM
We have this table of records that are shown in portal using the Data table from URL definition widget. We also added a new variable set in the record producer which contains two variables and these are not mapped to any of the fields in our table.
Now, we would like this variable set to be visible when we open our existing records in the portal. Like adding the variable set in the widget, maybe?
How do we achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 03:10 AM
If when you say
open our existing records in the portal
you mean the form widget, as far as I know it does not support formatters. Formatters being the "standard" way of adding variables to forms in Platform UI.
If you don't mean the form widget, you need to provide more information as to what exactly displays those records.
But either way, if we are talking portal, it is not possible without heavily modifying the form widget or by developing a custom widget that does it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 03:22 AM
Actually I was wrong, it seems the OOB, in San Diego, the form widget is capable of displaying variables. At least as far as Incidents go. Once one adds the Incident Variable Editor to the form layout, it is picked up by that widget too. Will check if it works for other table/custom formatters too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 03:34 AM
Well it does work. I have created a record producer to create tickets (table ticket). I have configured a formatter for it - copied the one for incident changing the table name:
Once the formatter added to the Ticket form:
the variables are displayed:
But, again, only if the widget form is used to display the records and this has been tested in San Diego version, not sure how far back this is supported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 03:50 AM
Hi
We are using the Data table from URL definition widget to show the records in our custom table. And we want the variables from the record producer to be also visible when we open a record from that widget.