ssossossosso

Forums

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

This topic contains 7 replies, has 2 voices, and was last updated by  Rodolfo 2 years, 4 months ago.

  • Creator
    Topic
  • #8586

    Rodolfo
    Participant

    Hello!

    I used migrations to create custom entities. How can I show it up on Reports Management?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #8588

    Yurii Muratov
    Oro Core

    Hi, @rbandeira.

    Custom entities should be available in report manager automatically.

    Can you provide your migration script to try to reproduce your case?

    #8595

    Rodolfo
    Participant

    Hi @yurio,

    I belive they will be available on report manager only if I use extended entities. But I created a custom entity from scratch using Migration\Installation.

    #8596

    Rodolfo
    Participant
    #8598

    Rodolfo
    Participant

    Meanwhile I’ll try to implement this and check if my entity will show up on Report Management:

    https://github.com/orocrm/platform/blob/6717c2c3ac10f66e65d2a9067fe0541d044eb74d/src/Oro/Bundle/EntityConfigBundle/README.md

    #8599

    Rodolfo
    Participant

    Found the answer.
    Maybe could be useful to someone. To add custom entities into Report Management it’s necessary follow these steps. In my case I used @Config annotation.

    Thanks!

    #8645

    Yurii Muratov
    Oro Core

    Hi, @rbandeira.

    You are correct, in your case, your entity should contain Config annotation.

    But small additional comment. In your migration example, will be created ‘system’ entity, not ‘custom’.

    #8647

    Rodolfo
    Participant

    Hi @yurio,

    Thank you my friend!

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

You must be logged in to reply to this topic.