OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions EntityConfigBundle OroCRM 2.0

This topic contains 1 reply, has 2 voices, and was last updated by  msulima 6 years, 12 months ago.

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

  • Creator
    Topic
  • #25380

    Denis
    Participant

    Hi, I look at some aliases of EntityConfigBundle were excluded
    like
    Oro\Bundle\EntityConfigBundle\Audit\Entity\ConfigLog
    Oro\Bundle\EntityConfigBundle\Audit\Entity\ConfigLogDiff
    Oro\Bundle\EntityConfigBundle\Entity\ConfigModelIndexValue
    Oro\Bundle\EntityConfigBundle\Entity\EntityConfigModel
    Oro\Bundle\EntityConfigBundle\Entity\FieldConfigModel

    How can I get the entity, change/remove and save it?
    I mean I want to change data of EntityConfigModel entity and flush it, but I can do it because have an error – unknown alias of an entity.

    Thanks.

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

    msulima
    Moderator

    Hi,
    all of entities from that list use separated entity manager.
    Try something like

    and use $entityManager to flush your entity.
    Also, please check services from related bundle. Maybe you can find services with needed functionality.


Viewing 1 replies (of 1 total)

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

Back to top