Parameters
NameTypeDescription
recordsys.data.RecordThe record that the card is representing.
Returns
string|string[] - This is the text to show in the tag. If the script returns a string, it will considered one tag. If the script returns an array of strings, many tags will be added.
Samples
 
//adds the company state as tag
return record.field('company').fetch().field('state').val();