Overview:
Child Object List views My Custom Object Filter Not Returning all results.
Example problem: The Account Plans object is a child object of Accounts. A User creates a new ListView in that custom object tab and selects My Account Plans as the filter type. The User clicks Save and views the results. Not all the Account Plan records, that the user created, are displaying.
Root Cause:
When the My Account Plans filter is selected, the OwnerId of the Account (the Parent object) is being used as the filtering criteria. Child objects do not have OwnerIds.
Solution:
Use the Formula: IF (CreatedById = $User.Id, 0, 1).
In the My Child Object view, use the following filter criteria: Created By User = 0
Related Documentation:
N/A
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.
Thank you