Add an Image Control to a Form
Use the Form Editor (accessed from within a Blueprint in CSM Administrator) to add an Image Control to a Form.
Good to know:
- An Image Control is highly configurable; you can add one or many to a Form, then define the Action to execute when the image is clicked, and how the image looks and behaves on the Form (ex: Tooltip, size, color, border style, image, alignment, anchoring, layering, visibility, and enabling/disabling).
- Image Controls do not support text, background, foreground, or border colors; therefore no colors, styles, or fonts can be applied.
- Images can be conditional (Expression-driven).
- See Form Editor Behaviors for tips on working with Controls and the Form Editor.
To add an Image Control to a Form:
- Open a Form in the Form Editor.
- Drag-and-drop the Image Control from the Standard Control tree onto the Form.
- Define the Action to execute when the image is clicked:
- Right-click the Image Control, and then select Control Properties.
- In the Choose Action window, click the
Ellipses button
to open the Action Manager, then select the Action to execute.
- Define the image to display:
- On the Form Editor toolbar, click the
drop-down arrow on the Image button
, and then select one of the following options:
- Browse: Opens the Image Manager, where you can select an existing image or import a new image to display on the Widget.
- From Stored Value: Opens the Stored Value Manager, where you can select an existing Stored Value or create a new Stored Value to use.
- Custom Expression: Opens the Custom Expression Builder, where you can create a custom Expression to use only for this scenario.
- Expression Manager: Opens the Expression Manager, where you can select an existing Expression or create a new stored Expression to use. Stored Expressions can be reused in numerous places in CSM.
- None: Does not use an image.
- On the Form Editor toolbar, click the
drop-down arrow on the Image button
- Align the image:
- Click the drop-down arrow on the Image button, select Image Alignment, and then select an alignment option within the Control (ex: Top-right).
- Define how the Image Control looks and behaves on the Form.
- Publish the Blueprint (File>Publish Blueprint) to commit the changes, or save the Blueprint (File>Save Blueprint) to continue making other changes.