Filtering lookup values for a Editable list grid detail

Hi, 

I have developed an editable List Grid Detail (derived from BaseGridDetailV2). The detail is added to OrderProductPage.

The entity schema (table) for this detail has the following columns:

  - OrderProductId (Lookup field from OrderProduct table)

  - AssetId (Lookup field from custom asset table)

Assets are linked to Account. The detail is rendered properly however I want to filter the Asset field in the detail based on the opened Order's Account field (Detail screenshot attached). Currently it lists, all the records from the Asset table

Any Ideas on how this can be achieved?

Thank you

 

File attachments
Like 0

Like

3 comments

Hello,

You can add filtering rules on the edit page for the detail and it will be honored in the detail editable list. Edit the page for the detail and add the filtering rule there.

Ryan

How can we do this in FreedomUI? I'm not able to filter lookups shown when inline editing in a grid.

Hi Andres Arrigonni,

 

You can read about the lookup filtering setup here: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…

 

Have a great day!

Show all comments