ssossossosso

Forums

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

This topic contains 8 replies, has 6 voices, and was last updated by ishakuta ishakuta 3 years, 10 months ago.

  • Creator
    Topic
  • #754

    smuriu
    Participant

    Hello,

    I have found it very difficult to extend the default User class in OroUserBundle. I am aware I could easily create a new user class and alter the parameters in config.yml to point to my new class. However, it seems to me that I would also have to rewrite alot of the other classes in the User bundle to make that work.

    I would like to introduce my own entity as an association in the user class with the user being the owning side. Is there an easier way to do this?

    In my opinion, defining OroUserBundle:User as @MappedSuperclass would help a lot for those intending to have their own implementations and not lose alot of the existing functionality. Possibly true for many of the other entities defined in the OroPlatform.

    Keep up the good work.

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #756

    smuriu
    Participant

    Also, we could find a way to work this in: Keeping your Modules Independent – Doctrine 2 ORM 2 documentation

    #757
    lrotherfield
    lrotherfield
    Participant
    #758

    kotfalya
    Oro Core

    hello

    Right now we are working with functionality which will add ability to extend entities and solve this problem.
    As a developer you will be able to add additional fields to existing entities through the config in your bundle.

    for example

    #759
    Dima Soroka
    Dima Soroka
    Oro Core

    Entity extendability model that is currently in progress will cover following cases:

    • Entity fields management
    • Entity relations management
    • Custom entities creation
    • Entity forms management

    This functionality will allow to adjust entity structure to business needs and easily add related entities to original ones.

    Please let us know if this option works for you or your expectations are a bit different.

    #760

    smuriu
    Participant

    Hi,

    That would be excellent! Any indication on when this could be available?

    #764
    Dima Soroka
    Dima Soroka
    Oro Core

    Fields management and custom entities creation will be available later this week, relationship management will be implemented till end of September and form management is planed till the end of the year.

    #765
    Mathieu RIVIERE
    Mathieu RIVIERE
    Participant

    Hello,

    This functionality will be available directly in application (include in administration menu?) or we need to create fields with development?

    I’m so excited to see this new version !!!

    Regards,


    Mathieu RIVIERE
    SYNOLIA – Division CRM

    #897
    ishakuta
    ishakuta
    Participant

    Mathieu, for some tasks there will be UI.

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

You must be logged in to reply to this topic.