Parameters
Sources Context
available during Reindex
TODO
https://portrait.atlassian.net/wiki/x/gwlXPQ
Dynamic Variables | ||
| For each loaded source Entry a variable is available. Â | Example fieldProcessor:
- field: highlight
value: "{{eq CM_HIGHLIGHT '1' yes='#e2001a' no=''}}"
- field: shape
value: "{{eq CM_COMPANY_TYPE 'BH - Branch' yes='rounded' no='rectangular'}}" |
User Context (FormSubmit, Actions)
Used here
Â
Constants | ||
| unique user id |
|
| name of the user |
|
|
| |
| assigned role |
|
 |  |  |
User Custom Fields Custom Fields | ||
|
| The value set in the Managing users View. |
 | Dynamic Variables |  |
| Each section holds different attributes. The values of these can be access | Example label: 'In Stock'
key: 'Amount'
type: 'string'
showInTableHeader: true
showInDetailList: true
hideIfEmpty: true
So 'Amount' an be used in a handlebar: actions:
- ...
condition: '{{gt Amount 0}}'  Same goes for FormSubmit example: see ELO | Example ELO post processing in Portrait  |
 |  |  |