Description
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.
How to use
You can add the control to every panel or within a page of a SwatTabbar.
- Open the screen which you want to add the image control in the screen designer .
- In the catalog search for the object SimpleSwatImage
- Drag&Drop it to the preview screen and Save.
- Set the following attributes:
- ENABLED = True
- ForeignFields = Picture.refHdl,selfHdl
- typeRange = defines the image-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 designer and add a link from the datasource to the image control. Linktype = Display
- Save
Back to Documentation
Back to Home Page