...
As long as the defined action can be used inside a href-tag (see Chapter href: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) it is a valid action. The action itself is therefore declare as value-field in the backend-query: https://maps.google.at/?q=Stephansplatz%201,%20Wien
or mailto://office@treskon.at
.
The appearance property can be either:
primary — a button is shown below the entry data in highlight-color
secondary — a button is shown below the entry data in an inverted style
dropdown — the action is part of the (always visible) options menu (…)
The icon property defines what glyph is shown in the button. The list of possible icons is based on the https://feathericons.com/ library and are open source. You can use the official feather icon site to search for icons and use the icon name inside the property (e.g. phone
).
Code Block |
---|
- label: 'Send Request'
key: 'requestMailto'
type: 'action'
appearance: 'secondary'
icon: 'phone'
showInTableHeader: false
showInDetailList: true |
...