Link Button
A button that navigates to a provided url in a new tab when clicked.
Schema
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "Link Button Control",
"description": "A button that navigates to a provided url in a new tab when clicked.",
"type": "object",
"required": [
"control",
"buttonText",
"link"
],
"properties": {
"control": {
"const": "link-button"
},
"buttonText": {
"title": "Button Text",
"description": "Button text",
"type": "string"
},
"link": {
"title": "Link",
"description": "URL to navigate to",
"type": "string"
}
}
}
Example
{
"control": "link-button",
"buttonText": "Go to item library",
"link": "https://squareup.com/dashboard/items/library"
}