A datasource available to all widgets in portal.
- latestData() -> Any
- Return the latest value associated with the source
A function that filters data and has access to portal’s scope variables.
Widget Scope Variables
- The current data of the widget’s linked source
- Equivalent to calling datasources[“sourceKey”].latestData()
- The value of the current widget
Filters from source to widget, most commonly used to format data into widget’s expected format.
Filters from widget to source, most commonly used to format payload for source.