Updated CR Connect Workflow Configurator User Guide (markdown)

Dan Funk 2020-05-12 10:11:36 -04:00
parent 36566bbd68
commit 42a77a52b6
1 changed files with 14 additions and 4 deletions

@ -205,13 +205,23 @@ If you want to populate the default value of a field with the output of a Formly
| ------------- | -------------------------- |
| `value_expression` | `model.otherFieldName` |
### Search Field
If a dropdown enum field is especially long, use this feature to add values from a spreadsheet. It can also provide additional search capabilities for values in the list. Use the Type -> `custom type` option add `autocomplete` in the parameter field and the following Properties below:
### Dropdown Fields
Dropdown values can be read from a separate spreadsheet if it becomes cumbersome to maintain them in the BPMN diagram.
Set the type to **enum** and use the following properties to read the values in from a file:
#### Properties
| Property > Id | Property > Value | Example |
| ------------- | ---------------- | ------- |
| enum.options.file | file name of spreadsheet used | customer_list.xls |
| enum.options.value.column | column name of values to be stored | CUSTOMER_NUMBER |
| enum.options.label.column | column name of entries to be searched | CUSTOMER_NAME |
| enum.options.lookup | True | turns on search capabilities (omit this property if no lookup desired |
### Searchable Dropdown Fields
If the enum list is too long, you can turn it into an auto-complete field by making two changes:
1. Use the Type -> `custom type` option add `autocomplete`
2. In the parameter field and the following Properties below:
#### Properties
| Property > Id | Property > Value | Example |
| ------------- | ---------------- | ------- |
| enum.options.lookup | True | turns on search capabilities