This function will take as input some text and will return an image showing that text in a grey square or circle.
For example, if you have a column with the following expression:
The resulting data type will be either
Image and you can then use the image in your app, e.g. like so:
In the above image, there is a column called
Name with values like
Icon 2, etc. and this column is also represented inside the image using
Note: if this expression and virtual column is set to type
Thumbnail, only square images are supported in UX views. If set to type
Image, squares and circles are supported.