...
Selected value is "Yann" which is a givenName. And on the bottom of the filter displayed selected key -it is User`s DN: "cn=ysommer,ou=users,o=data".
This can be pictured as an HTML select option:
<option value="cn=ysommer,ou=users,o=data">Yann</option>
Accordingly on report creation ACD will send a query containing Must statement with attribute name from Attribute to Filter on {"query_string":{"query": "nrfApprovalInfo: (\"cn=ysommer,ou=users,o=data\")"}}
...
The result will look like this if you select e.g. "Meier" as lastname. There are three users with lastname "Meier": "Stafan Meier", "Max Meier" and "Franz Meier"
Query Reformat Script. 'return input;'
Once selected have to contain 'return input;'!
For versions prior ACD v.3.2 input have to be a string.
Since v.3.2 may return an array of objects with properties {key:keyString, value:valueString}
Next file contains some functions which may be used as is or as examples:
View file | ||||
---|---|---|---|---|
|
Filter dependent filter on value from (available since ACD v.3.2)
...