SwatImage
You can add images to any record you want by using the image-control.
The object type SwatImage is a control which can be added to a panel of a screen. With this control it is possible to add images to any record you want. The image will be saved in the Build.One database and the internal selfhdl (Build.One GUID) is used as the unique reference between the image and the record.
Adding a SwatImage
You can add the control to every panel or within a page of a SwatTabbar.
Open the screen that you want to add the image control in the Object Designer.
In the catalog search for the object SimpleSwatImage.
Drag & drop it to the Preview panel and save.
Set the following attributes:
ENABLED
= TrueForeignFields
= Picture.refHdl,selfHdltypeRange
: defines the text-types which are selectable in the editor, e.g. “image.customer.” (check the content types for existing types or create new types there). The value of this attribute will be used to search all content types where the key starts with this value (e.g. “image.customer.” —> “image.customer.logo”, “image.customer.item.1” etc.)
Go to the Flow view and add a link from the datasource to the image control.
Select the linktype 'Display'
Click Save.