Dear Community,
I was wondering if anyone knows a way on how to automatically fill in a lookup that has been filtered by the Business Rules?
The idea would be to have 2 lookups that are connected together.
If lookup A has value "123" then lookup B can only have value "ABC".
In this situation the client has to click on Lookup B to select the only available option which is "ABC". These are extra clicks...
Is there a way to automatically fill in Lookup B whenever there's only one option left?
Thanks!
Like
Note, as of 7.16.2, the autocomplete setting (which is what you need to auto-fill the dependent lookup) can now be set in the business rule, no need to modify the code, looks like the academy article needs to be updated.
Ryan
Hi Yosef,
The parameter "autocomplete" is what you are looking for, on the academy there is an example "https://academy.creatio.com/documents/technic-sdk/7-16/filtration-rule-…".
Note, as of 7.16.2, the autocomplete setting (which is what you need to auto-fill the dependent lookup) can now be set in the business rule, no need to modify the code, looks like the academy article needs to be updated.
Ryan