Style editor: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 34: Line 34:
** As '''Image Data''', select the entity and field that contains your image (often, <code>Note.Document</code> or <code>{CurrentEntity}.Entity Image</code>).
** As '''Image Data''', select the entity and field that contains your image (often, <code>Note.Document</code> or <code>{CurrentEntity}.Entity Image</code>).
** As '''Conditions''', add how to locate the correct image. The left side shows the fields on the entity selected as Image Data, on the right side you can either write a constant value, use a field of the current entity (in curly brackets), or use <code>{currentUserId}</code> to refer to the current app user.
** As '''Conditions''', add how to locate the correct image. The left side shows the fields on the entity selected as Image Data, on the right side you can either write a constant value, use a field of the current entity (in curly brackets), or use <code>{currentUserId}</code> to refer to the current app user.
** As '''Placeholder''', you may add a [[Images#Default_.2F_editable_images_in_views|placeholder image]] (in case the query does not return anything): enter the path and name of a [[Images|project image]] (for example <code>mydirectory.mypic.png</code>).
** As '''Placeholder''', you may add a [[Image_examples#Default_.2F_editable_images_in_views|placeholder image]] (in case the query does not return anything): enter the path and name of a [[Images|project image]] (for example <code>mydirectory.mypic.png</code>).
:: [[File:Configure image query 2.png]]
:: [[File:Configure image query 2.png]]
* '''Name''' – Name of the style.
* '''Name''' – Name of the style.

Navigation menu