How to make a Custom Field available as View Relationship? I'm trying to match the data of a field to a contextual value but I cannot find my desired field in the relationships list.

Do I have to something special to this field to get it to show up under relationships?
I'm trying to have a filter that shows content where the name of
  logged in user is equal to the value of custom field.


Add your custom field as a Contextual Filter. 

Select Provide a default value then for Type select PHP Code

PHP Contextual Filter Code

  global $user; // gets current logged in user object

  if (isset($user-&gt;name)) {      
     return $user-&gt;name; // gets user name
  }