Dynamic filter in related list

Poorva Bhawsar
Mega Sage

Hi Community,

 

I have 2 tables one is the combined table which has same fields as other tables and the other is a related list table which i joined using user name field which is a reference field on the table.

 

I want to filter related list data if the combined table or the parent table have xyz user id which 1.2.3 and 4 resource plans with 4 records for that user only. I only want to show those 4 records under that related list for that specific xyz user id.

 

How to filter data or add dynamic filter for this?

 

Thanks

1 ACCEPTED SOLUTION

Poorva Bhawsar
Mega Sage

Able to achieve this by using 

current.addQuery('user_name', parent.getValue('user_name')); in the relationship.

View solution in original post

1 REPLY 1

Poorva Bhawsar
Mega Sage

Able to achieve this by using 

current.addQuery('user_name', parent.getValue('user_name')); in the relationship.