Add widgets
Overview
Steps
Add a widget to a jig
# The system name that uniquely identifies the jig
title: Location with address
# The jig type used to display data
type: jig.default
isCollapsible: true
# The type of datasource used to return data in the jig
datasources:
address:
# The static dataset is created directly inside the jig file
type: datasource.static
options:
data:
- street: 768 5th Ave
city: New York
country: US
# The control used by the jig
children:
- type: component.location
options:
viewPoint:
address: [email protected] & ',' & @ctx.datasources.address.city & ',' & @ctx.datasources.address.country
zoomLevel: 9
# The widget that displays on the home hub.
widgets:
map-location:
type: widget.location
options:
viewPoint:
address: [email protected] Last updated
Was this helpful?