ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 1 year, 10 months ago.

  • Creator
    Topic
  • #16074
    Madhur
    Madhur
    Participant

    Hi,

    I have created a custom entity bundle.

    I want to be able to create this custom entity record from a Calendar Event. So in the view.html.twig file of Calendar Event bundle, I want to add a create button for this custom entity and associate the calendar event id in the custom entity record. I don’t want it necessarily to be a dialog type. Even if it refreshes the page I am okay.

    How can I go about doing this?

    Thanks and Regards,
    Madhur

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #16085
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello.

    > I want to add a create button for this custom entity and associate the calendar event id in the custom entity record
    You should use appropriate placeholder to do that (view_navButtons_before or view_navButtons_after) – make sure that entity is a Calendar Event, then render button for appropriate entity creation, pass calendar event ID there and process it on backend (during form rendering or form submission).

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.