label

Is a label that can behave dynamically.

Property

Description

required

Example

isUrl

If the text itself in the label is a URL, you can set this property to "true" so that this label can also function as a URL.


"isURL":true

urlTemplate

If clicking the label is to open another app (or page), you can specify the HTML element with which it opens here. It is important that an anchor tag (<a>) with a valid href link is present. If the link is to access another app, the link should start with "{{baseUrl}}". Dynamic parts of the link are represented within two curly brackets. You can find more information about the templates here.


"urlTemplate": "<div style=\"float: right\"><a href='{{{baseUrl}}}Procedure/Edit?id={{entity.Ticket}}' target='_blank'>Go to ticket</a></div>"

textTemplate

If the text of the template is to be dynamic, you can realise it with this. You can find more information about the templates here.


"textTemplate": "entity.IsPrivate == true ? \"{{{WebSMS.Reminder.Fields.Private}}}\" : \"{{{WebSMS.Reminder.Fields.Forwarded}}}\""