Answers.Body: <p>If you are wanting to show 'my events' you can create a View based on civicrm participants, then use Relationship to pull in "CiviCRM Contacts: Drupal ID", then set a views Filter to 'user: current = yes". Done.</p>
  
  <p>But if i misunderstood then pls clarify the outcome you want and in what context.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T01:52:39.130Z
Answers.Text: you are correct using this method gets the participants info I needed, thank you!
Answers.UserDisplayName: Boby
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-23T03:22:19.967Z
Answers.LastActivityDate: 2016-03-23T03:22:19.967Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>Woah! Hold your horses!</p>
  
  <p>UID is a Drupal ID! CiviCRM has contact IDs - the two aren't the same. You can find the pairing in the civicrm_uf_match table :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-26T00:47:47.577Z
Answers.Text: do I need to use custom pull in views?
Answers.UserDisplayName: Boby
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-22T21:38:20.643Z
Answers.LastActivityDate: 2016-03-22T21:38:20.643Z
Answers.UserDisplayName: JohnFF
Body: <p>I am setting up views loading civicrm events and loaded the uid of user, and wanted to match the UID with the event he/she is registered from, </p>
  
  <p>in views, I can not connect to participants through anywhere, when I tried loading relations ships :</p>
  
  <pre><code>    &lt;select class="ctools-master-dependent form-select ctools-dependent-processed" id="edit-group" name="group"&gt;
  &lt;option value="all"&gt;- All -&lt;/option&gt;
  &lt;option value="civicrm-custom--contact-person"&gt;CiviCRM Custom: Contact Person&lt;/option&gt;
  &lt;option value="civicrm-custom--moderator"&gt;CiviCRM Custom: Moderator&lt;/option&gt;
  &lt;option value="civicrm-custom--panelist"&gt;CiviCRM Custom: Panelist&lt;/option&gt;
  &lt;option value="civicrm-custom--workgroup"&gt;CiviCRM Custom: Workgroup&lt;/option&gt;
  &lt;option value="civicrm-events"&gt;CiviCRM Events&lt;/option&gt;&lt;option value="civicrm-phone-details"&gt;CiviCRM Phone Details&lt;/option&gt;
  &lt;option value="civicrm-price-set-entities"&gt;CiviCRM Price Set Entities&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>I tried using the civicrm phone details but when connecting the civicrm participants its not loading anything</p>
  
  <p>anywhere to connect it?</p>
  
  <p>thank you</p>
  
Tags: <civievent><drupal-views><registration>
Title: getting past event by participant
ThreadText: # getting past event by participant
  
  (Asked by: username_0 on 2016-03-22)
  
  I am setting up views loading civicrm events and loaded the uid of user, and wanted to match the UID with the event he/she is registered from,
  
  in views, I can not connect to participants through anywhere, when I tried loading relations ships :
  
  ```
      <select class="ctools-master-dependent form-select ctools-dependent-processed" id="edit-group" name="group">
  <option value="all">- All -</option>
  <option value="civicrm-custom--contact-person">CiviCRM Custom: Contact Person</option>
  <option value="civicrm-custom--moderator">CiviCRM Custom: Moderator</option>
  <option value="civicrm-custom--panelist">CiviCRM Custom: Panelist</option>
  <option value="civicrm-custom--workgroup">CiviCRM Custom: Workgroup</option>
  <option value="civicrm-events">CiviCRM Events</option><option value="civicrm-phone-details">CiviCRM Phone Details</option>
  <option value="civicrm-price-set-entities">CiviCRM Price Set Entities</option></select>
  
  ```
  
  I tried using the civicrm phone details but when connecting the civicrm participants its not loading anything
  
  anywhere to connect it?
  
  thank you
  
  **Tags:** civievent, drupal-views, registration
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-03-23. Score: 1 | Accepted answer
  
  If you are wanting to show 'my events' you can create a View based on civicrm participants, then use Relationship to pull in "CiviCRM Contacts: Drupal ID", then set a views Filter to 'user: current = yes". Done.
  
  But if i misunderstood then pls clarify the outcome you want and in what context.
  
  > **Comments:**
  > **username_0**: you are correct using this method gets the participants info I needed, thank you!  
  
  ---
  
  ### Answer by username_2 on 2016-03-22. Score: 0
  
  Woah! Hold your horses!
  
  UID is a Drupal ID! CiviCRM has contact IDs - the two aren't the same. You can find the pairing in the civicrm\_uf\_match table :)
  
  > **Comments:**
  > **username_0**: do I need to use custom pull in views?  
  
  ---
  
  