Answers.Body: <p>It turns out the issue was not specific to CiviCRM fields.  The issue is in the relationship between Views and Panels, specifically, passing arguments between the two.</p>
  
  <p>The missing piece for us was using the 'Argument input' setting in Views to pass the arguments properly.</p>
  
  <p>Eventually discovered a great post about it here:
  <a href="http://www.metaltoad.com/blog/passing-page-arguments-view-panes" rel="nofollow">http://www.metaltoad.com/blog/passing-page-arguments-view-panes</a></p>
  
  <p>I won't try to reproduce it.  Following these steps solved our problem.</p>
  
  <p>Enjoy,
  Lewis</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-11T23:01:26.210Z
Answers.LastActivityDate: 2016-08-11T23:01:26.210Z
Answers.UserDisplayName: Lewis
Body: <p>I feel like I am missing something fairly basic, but here goes.</p>
  
  <p>I am trying to display CiviCRM Contact fields from a view that will be displayed in a content pane of a panel, but they just don't appear.</p>
  
  <p>My view has a mix of Drupal and CiviCRM fields.  The Drupal fields appear in the panel, but the CiviCRM fields don't.  When I display the view as a standalone page, the CiviCRM fields appear along with the Drupal fields.</p>
  
  <p>It would seem, then, that the problem is passing the CiviCRM data to the panel.</p>
  
  <p>Is there a context or relationship that is required in the panel?</p>
  
  <p>I have added CiviCRM fields directly from the 'CiviCRM Contact' tab of the 'add content' wizard in Panels, but they exhibit the same behaviour.  The fields don't appear on the front end of the site (or in previews).</p>
  
  <p>I am working with Drupal 7.50 and CiviCRM 4.7.6.</p>
  
  <p>Thanks for your help,
  Lewis</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-10T19:58:57.740Z
Comments.Text: Are the Drupal fields connected to the Civi fields that should be shown? If so, you might need to add a filter rule connecting the two.
Comments.UserDisplayName: naomisl
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-10T20:48:38.983Z
Comments.Text: What is a 'filter' rule and at what stage would I add it? In the Panel? Do you mean a Context in the Panel? Which type will work? I have tried several with no success. Do you mean a Relationship within the Panel? Sorry.  Just not sure which feature you're referring to and how to implement it. Thanks.
Comments.UserDisplayName: Lewis
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-10T20:51:12.290Z
Comments.Text: Apologies. To answer your question, 'yes'.  These are Drupal User fields and linked CiviCRM Contact fields, e.g. Drupal username and CiviCRM First Name and Last Name.
Comments.UserDisplayName: Lewis
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-10T21:06:18.987Z
Comments.Text: Sorry I was unclear, I meant to refer to the option for "contextual filters" in views. Let me see if I can get some screenshots...
Comments.UserDisplayName: naomisl
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-10T21:12:05.630Z
Comments.Text: Oh I see now, you're really having more of a panels issue than a views one, since it's working in views. Hm...
Comments.UserDisplayName: naomisl
Tags: <drupal-views>
Title: Why are CiviCRM fields not displaying from a view in a panel in Drupal?
ThreadText: # Why are CiviCRM fields not displaying from a view in a panel in Drupal?
  
  (Asked by: username_0 on 2016-08-10)
  
  I feel like I am missing something fairly basic, but here goes.
  
  I am trying to display CiviCRM Contact fields from a view that will be displayed in a content pane of a panel, but they just don't appear.
  
  My view has a mix of Drupal and CiviCRM fields. The Drupal fields appear in the panel, but the CiviCRM fields don't. When I display the view as a standalone page, the CiviCRM fields appear along with the Drupal fields.
  
  It would seem, then, that the problem is passing the CiviCRM data to the panel.
  
  Is there a context or relationship that is required in the panel?
  
  I have added CiviCRM fields directly from the 'CiviCRM Contact' tab of the 'add content' wizard in Panels, but they exhibit the same behaviour. The fields don't appear on the front end of the site (or in previews).
  
  I am working with Drupal 7.50 and CiviCRM 4.7.6.
  
  Thanks for your help,
  username_0
  
  **Tags:** drupal-views
  
  > **Comments:**
  > **username_1**: Are the Drupal fields connected to the Civi fields that should be shown? If so, you might need to add a filter rule connecting the two.  
  > **username_0**: What is a 'filter' rule and at what stage would I add it? In the Panel? Do you mean a Context in the Panel? Which type will work? I have tried several with no success. Do you mean a Relationship within the Panel? Sorry.  Just not sure which feature you're referring to and how to implement it. Thanks.  
  > **username_0**: Apologies. To answer your question, 'yes'.  These are Drupal User fields and linked CiviCRM Contact fields, e.g. Drupal username and CiviCRM First Name and Last Name.  
  > **username_1**: Sorry I was unclear, I meant to refer to the option for "contextual filters" in views. Let me see if I can get some screenshots...  
  > **username_1**: Oh I see now, you're really having more of a panels issue than a views one, since it's working in views. Hm...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-08-11. Score: 3 | Accepted answer
  
  It turns out the issue was not specific to CiviCRM fields. The issue is in the relationship between Views and Panels, specifically, passing arguments between the two.
  
  The missing piece for us was using the 'Argument input' setting in Views to pass the arguments properly.
  
  Eventually discovered a great post about it here:
  <http://www.metaltoad.com/blog/passing-page-arguments-view-panes>
  
  I won't try to reproduce it. Following these steps solved our problem.
  
  Enjoy,
  username_0
  
  
  ---
  
  