9,224
edits
No edit summary |
|||
Line 120: | Line 120: | ||
=== Use Note attachment as image in edit forms === | === Use Note attachment as image in edit forms === | ||
You can add a picture to | You can add a picture to a form exactly like the view. In this example, we display an image on the Account form. | ||
A new field called image1 is added to the form. You can rename it by editing the '''Binding''' field in the '''Properties''' pane (for example to ''Account Image''). To apply the change, just click the image field item. | # Edit an [[app projects|app project]]. | ||
# Select '''Account''' from the '''Project''' menu, then click '''Show UI'''. | |||
# Edit the form. | |||
# Click '''Add Image''' and select '''FormNoteImage'''. A new field called image1 is added to the form. | |||
# Select the image. You can rename it by editing the '''Binding''' field in the '''Properties''' pane (for example to ''Account Image''). To apply the change, just click the image field item. | |||
# By default, the Note where the edit form picture should be attached needs to have a subject name exactly “FormImage”. If you need to change the subject name, use styles: | |||
#* Click '''Edit Styles''', select '''FormNoteImage''', then click on '''ImageQuery''' field to change the Subject name of the Note. | |||
#* You can also create more FormNoteImage styles and use different notes for different entities. Close the style editor. | |||
# If you have multiple FormNoteImage styles, make sure that you set the correct style for the image1 item ('''Properties''' pane > '''Style'''). | |||
{{Note|If you set the same Note Subject for your view and form, the same image attached to a simple Note will be used for both.}} | |||
{{Note|If you set the same Note Subject for | |||
=== Entity image (Dynamics) === | === Entity image (Dynamics) === |