OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions How to show custom entities on Reports?

This topic contains 7 replies, has 2 voices, and was last updated by  Rodolfo 9 years, 1 month ago.

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

  • Creator
    Topic
  • #33783

    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
  • #33784

    Yurii Muratov
    Participant

    Hi, @rbandeira.

    Custom entities should be available in report manager automatically.

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

    #33785

    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.

    #33786

    Rodolfo
    Participant
    #33787

    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

    #33788

    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!

    #33789

    Yurii Muratov
    Participant

    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’.

    #33790

    Rodolfo
    Participant

    Hi @yurio,

    Thank you my friend!

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

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

Back to top