Answers.Body: <p>after reading and re-reading the docs got this working:</p>
  <pre><code>{% set relatedDates = craft.calendar.events.relatedTo(entry).all() %}
  
  {% for relatedEventEntry in relatedDates %}
   {{ relatedEventEntry.title }} - {{ relatedEventEntry.startDate.format(&quot;l, F j, Y \\a\\t g:ia&quot;) }}
        ({{ relatedEventEntry.duration.humanReadable }})
        in {{ relatedEventEntry.calendar.name }} calendar.
        {% if relatedEventEntry.repeating %}
          Repeats {{ relatedEventEntry.readableRepeatRule }}
        {% endif %}
  {% endfor %}  
  </code></pre>
  <p>this is called from the <code>projects/_entry</code> template</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-24T20:03:54.927Z
Answers.LastActivityDate: 2021-03-24T20:03:54.927Z
Answers.UserDisplayName: user2569
Body: <p>I'm using Solspace Calendar,<br />
  When I create an event with it I use a related entry field called 'project'<br />
  to choose an entry from a section called projects<br />
  I can display the project title etc in the Calendar template,<br />
  however I want to display the projects event date when on the project page (reverse related)<br />
  I can't fathom how to construct a reverse related entry – being 'events' is neither an entry, user, asset etc as per this question: <a href="https://craftcms.stackexchange.com/questions/20267/related-entries">Related Entries</a>
  I would like to understand if its even possible as for example - the plugin not being a section, this clearly won't work:</p>
  <pre><code>{% set relatedDates = craft.entries.section('events').relatedTo(entry) %} 
  </code></pre>
  <p>how would one grab the calendar event to begin with?
  Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-24T17:11:42.577Z
Comments.Text: so basically the opposite of this (below) in that I have an entry field 'project'  
  to use in the Calendar and can choose the project entry when I create an event, not choosing an event from a project like below:  
  https://docs.solspace.com/craft/calendar/v2/overview/fieldtype.html#use-in-templates
Comments.UserDisplayName: user2569
Tags: <relations><plugin-solspacecalendar>
Title: Reverse related entry with Solspace Calendar
ThreadText: # Reverse related entry with Solspace Calendar
  
  (Asked by: username_0 on 2021-03-24)
  
  I'm using Solspace Calendar,  
  When I create an event with it I use a related entry field called 'project'  
  to choose an entry from a section called projects  
  I can display the project title etc in the Calendar template,  
  however I want to display the projects event date when on the project page (reverse related)  
  I can't fathom how to construct a reverse related entry – being 'events' is neither an entry, user, asset etc as per this question: [Related Entries](https://craftcms.stackexchange.com/questions/20267/related-entries)
  I would like to understand if its even possible as for example - the plugin not being a section, this clearly won't work:
  
  ```
  {% set relatedDates = craft.entries.section('events').relatedTo(entry) %} 
  
  ```
  
  how would one grab the calendar event to begin with?
  Thanks
  
  **Tags:** relations, plugin-solspacecalendar
  
  > **Comments:**
  > **username_0**: so basically the opposite of this (below) in that I have an entry field 'project'   to use in the Calendar and can choose the project entry when I create an event, not choosing an event from a project like below:   https://docs.solspace.com/craft/calendar/v2/overview/fieldtype.html#use-in-templates  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-03-24. Score: 2
  
  after reading and re-reading the docs got this working:
  
  ```
  {% set relatedDates = craft.calendar.events.relatedTo(entry).all() %}
  
  {% for relatedEventEntry in relatedDates %}
   {{ relatedEventEntry.title }} - {{ relatedEventEntry.startDate.format("l, F j, Y \\a\\t g:ia") }}
        ({{ relatedEventEntry.duration.humanReadable }})
        in {{ relatedEventEntry.calendar.name }} calendar.
        {% if relatedEventEntry.repeating %}
          Repeats {{ relatedEventEntry.readableRepeatRule }}
        {% endif %}
  {% endfor %}  
  
  ```
  
  this is called from the `projects/_entry` template
  
  
  ---
  
  