Images: Difference between revisions

Jump to navigation Jump to search
208 bytes added ,  18 March 2020
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 edit form exactly like to the view. For example, when you are editing a form for the Account entity, click '''Add Image''' and select '''FormNoteImage'''.
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''').


By default, the Note where the edit form picture should be attached needs to have a subject name exactly “FormImage”. Again, this can be changed using 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.
{{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.}}
 
If you have multiple FormNoteImage styles, make sure that you set the correct style for the image1 item.
 
{{Note|If you set the same Note Subject for List and Form view, the image attached to a simple Note will be used for both, View and Form images.}}


=== Entity image (Dynamics) ===
=== Entity image (Dynamics) ===

Navigation menu