Question

Autofill lookup if only one value available

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 0

Like

5 comments
Best reply

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-…".

Hello Yosef, 

 

Please, take a look at the article provided in the previous comment. 

 

Let us know in case any further information is required. 

 

Best regards,

Olga. 

Hi Olga,

 

Sorry but I don't see any previous comments?

 

 

Kind regards,

Yosef

Dear Yosef,

 

Please, check if the comment is available now. 

 

Thank you in advance!

Olga. 

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

Show all comments