Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom object and a custom field in that, which is lookup to user called 'Item Owner'. This custom field was required because the object is a child in master detail but required to have a namesake owner for each record. I want to filter the list view of this object such that it shows only those records in which the owner field equals to the logged in user. Is this possible?

Any help would be highly appreciated. Thanks

share|improve this question
up vote 3 down vote accepted

Create a formula field (IsItemOwnerLoggedInUser?) with return type as checkbox and set it to true for currently logged in user.

Item_Owner__c == $User.Id

Create a new view and in the filter criteria, enter "IsItemOwnerLoggedInUser" equals True

share|improve this answer
Yup implemented this solution. Thanks man :) – Prajith Feb 25 at 12:17
You're welcome :) – Shailesh Deshpande Feb 25 at 12:31

I don't believe you can filter by running user, vote up this idea here. VOTE One way would be to create a formula field that compared the running user ID to that field and resulted in a check box, being true. Then you could have the formula field like "my record" equals true in the criteria.

share|improve this answer
I saw the idea too. had gone with the formula field solution . Thanks for the help :) – Prajith Feb 25 at 12:19

Create a new view say My View and select the highlighted radio button it will automatically show only those record where owner is the current logged in user. enter image description here

share|improve this answer
I am not using the standard owner field - hence this would not work. I am filtering based on a custom field. – Prajith Feb 25 at 12:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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