1

I have a custom object Obj__c where I have created a custom lookup field to Account.

In the Account layout I have an Obj__c related list showing the Obj__c records related to a particular Account.

What I wish to achieve is to hide certain records in the related list.

For instance:
- if the Account status is set to Active hide all Obj__c records with status Closed
- if the Account status is set to Inactive hide all Obj__c records with status Open.

Is it possible to hide records in related list based on the status of the parent record and how it can be achieved?

1

No. Related lists cannot be filtered this way. You could create a custom component or Visualforce page, or build a solution involving record types, multiple page layouts, multiple lookup fields, and a few triggers or processes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.