Images: Difference between revisions

Jump to navigation Jump to search
2,089 bytes added ,  18 July 2019
Line 71: Line 71:


* To learn more about what List and Form images represent in Dynamics, please check this [http://blog.resco.net/2014/06/23/data-images-simply-explained/ blog post]. {{Badge|Blog}}
* To learn more about what List and Form images represent in Dynamics, please check this [http://blog.resco.net/2014/06/23/data-images-simply-explained/ blog post]. {{Badge|Blog}}
* See also an example of Woodford setup for List and Form images in this [http://blog.resco.net/2014/06/23/data-images-setup/ blog post]. {{Badge|Blog}}
* See also an example of Woodford setup for List and Form images in this [http://blog.resco.net/2014/06/23/data-images-setup/ blog post]. {{Badge|Blog}}
 
=== Use Note attachment as image ===
 
You add pictures that were originally saved as Note attachments to the view and/or to an edit form. This way you can for example show the photo of your contact or a picture of your product in the app's forms and views.
 
To display pictures on a view, you need to do following:
 
# Edit an app project and select the entity from the '''Project''' menu.
# Click '''Show UI''' to display the lists of views, forms, and charts.
# Double-click the view to open it for editing.
# Click '''Add Image''' and select '''ListNoteImage'''. This will add a picture item to the view designer.
# Adjust the size of other fields of your view to prevent overlap.
 
By default, the Note where the view picture should be attached must have a subject name set to be exactly “ListImage”. This can be changed using styles.
# Click '''Edit Styles''' and select '''ListNoteImage'''.
# To change the Subject name of the Note, click on the '''ImageQuery''' field.
# By changing the Subject field you set the name of the Note, from where the picture will be taken.
# You can also create more ListNoteImage styles in order to use different notes for different views.
# Click '''Save & Close''' to close the styles editor.
 
If you use multiple ListNoteImage styles, you should make sure to set the correct style in the properties of the image item back in the view designer window.
 
=== Default / editable images in views ===
 
If you use images in views, and there are some records that do not have any image in their Note, you can display a default image instead, so that there is not an empty slot in the view.
 
Also, it is possible to set editable images in views. It does not mean that you can edit the image, but you can edit the field, that is represented by it. For example, an option set may be displayed as image, rather that its value as text. And similarly to editable fields, you can change the value with the images.
 
To find out how to set up these two features, please check this webinar [https://www.youtube.com/watch?v=9vL4QRN_1dk section]. {{Badge|Webinar}}
 


[[Category:Woodford]]
[[Category:Woodford]]

Navigation menu