How to filter lookup values in an editable list (Freedom UI)?

Hi!

I’m working on a Freedom UI Activities page where I display a registry of certificates as an editable list. One of the columns in this list is an Activity lookup, and I need to restrict that lookup to show only the current Activity (i.e. the one tied to the page).

So far, I’ve tried:

Implementing handlers for crt.OpenSelectionWindowRequest and crt.LoadDataRequest to log requests, but these only fire for fields outside the editable list.

Inspecting the Network tab: when I open the lookup dropdown, I see a SelectQuery against rootSchemaName":"Activity" with a filter, but I can’t find where to inject my custom filter for the editable list.

Question:
Does anyone have an example or best practice for applying a filter to a lookup column inside an editable list on a Freedom UI page? Specifically, I need the Activity lookup to return only the activity record corresponding to the parent page when the user clicks the field.

Thank you in advance for your help!

Like 0

Like

2 comments

Iryna Oriyenko,

Hi Iryna,

Thank you for gathering these links for me. I reviewed each of them and successfully implemented the lookup filter on a Freedom UI Form Page. My challenge now is applying the same filter to a Freedom UI List Page (the editable grid inside a section).

I’ve seen mixed information in the community: some comments say inline filtering in the List Page grid isn’t supported yet, while others suggest it might be possible - but I haven’t come across a working example.

Could you confirm whether dynamic lookup filtering in a edit List Page grid is currently supported? If it is, a short code snippet or reference would be greatly appreciated.

Thanks again for your assistance.

Show all comments