OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions create or select inline form

This topic contains 2 replies, has 2 voices, and was last updated by  freelancer 6 years ago.

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

  • Creator
  • #24849



    I extended the SalesBundle and I added two new entities named Product and Licence. Now I would like to use the ‘oro_entity_create_or_select_inline’ in my forms, everything works well for this forms, I would like to link a Product to my Licence entity, but when I click on the ‘+’ button to create a new Product directly through the Licence form creation it end up by an empty pop-up. I realized the other views are using a ‘?_wid=…’ but I don’t see how to do the same with my view.

    Thanks for you help. Hope I’m clear enough.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #24850

    Look at ContactControoler update method. oro_form.model.update_handler service is used for this. It automatically check for widget context and set corresponding variable to template data. Also this is very useful service for handling create/update logic

    In case if you want custom logic in your action and want to use it as create form for oro_entity_create_or_select_inline for type you should add

    to your action response variables.



    Hi Dmity,

    Thanks for your help, it worked.


Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No