How can we apply dynamic filters to a dropdown lookup in FreedomUI?

Hi Community,

We have a requirement where we need to create a filter for a specific lookup (“Responsável”) based on the value of another lookup (“Empresa Interna”). You can see both fields in the image below.

To achieve this, we tried implementing the filter using crt.LoadDataRequest, which works. However, the filter only executes once. This means that if we change the “Empresa Interna” value again, the “Responsável” lookup does not update accordingly.

So far, the only workaround we’ve found is to open the lookup in a Selection Window. In this case, the filter executes every time we open the lookup selection page.

However, this is not ideal, we need a way for the filter to execute multiple times when using the dropdown option.

Someone had an issue similar to mine https://community.creatio.com/questions/dynamic-lookup-filter-freedom-ui, but the solution is not clear enough.

How can we apply dynamic filters to a dropdown lookup in FreedomUI? 

Thank you.

 

Best Regards,

Pedro Pinheiro

Like 1

Like

0 comments
Show all comments