Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums Forums Oro Community Add a relationship between a custom entity with OroCalendarBundle

This topic contains 1 reply, has 1 voice, and was last updated by  zhex900 7 years ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #24555

    zhex900
    Participant

    Hi,

    I have created a custom entity called EventName. EventName have an one to many relationship with calendar events (OroCalendarBundle). For example an EventName called Birthday Parties can have many calendar events.

    EventName have one to many relationship with CalendarEvents.
    CalendarEvents have many to one relationship with EventName.

    Please let me know what I am doing is on the right track. My goal is to add EventName from a Calendar Event. Also add Calendar Event in EventName.

    EventName Entity file

    EventName Migration file

    CalendarEvent Extension Migration file

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #24556

    zhex900
    Participant

    Hi,

    I can answer my own question now.

    CalendarEvent Extension Migration file

Viewing 1 replies (of 1 total)

The forum ‘Oro Community’ is closed to new topics and replies.

Back to top