OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions How do I change contact source?

This topic contains 7 replies, has 3 voices, and was last updated by  Artem Liubeznyi 7 years, 3 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
  • #36336

    Anton
    Participant

    Currently contact source has TV, Website, but I would like to add additional sources.

    How do I do this? Thanks

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

    Mike Kudelya
    Participant

    Hi

    I suggest you create new migration in your custom bundle similar to this with your new options https://github.com/orocrm/crm/blob/master/src/Oro/Bundle/ContactBundle/Migrations/Data/ORM/LoadSourceData.php

    #36338

    Anton
    Participant

    Do you think I can use an ftp manager to edit that .php file directly, adding my options, and not break oro?

    #36339

    Mike Kudelya
    Participant

    Hi

    If oro is installed that migration has already been executed and never executed again, you should create new migration in your custom bundle. You can read how to create it and run. I suggest you do database backup before any system update.

    #36340

    Anton
    Participant

    I was quote this as a 6 to 8 hour project.

    I see that lead sources can be changed easily through the UI. I really think contact source should be just as easy.

    Perhaps the estimate was wrong. How long do you anticipate a new oro migration would take to create and run?

    Thanks

    #36341

    Mike Kudelya
    Participant

    Hi

    Lead source field you can easily modify because it is ‘select’ field of Lead, but contact source is not select field. New bundle&migration take i think ~1-2h

    #36342

    Anton
    Participant

    Ok thanks for the help

    #36343

    Artem Liubeznyi
    Spectator

    @Anton, if you are willing to contribute the migration to our CRM master, it will be greatly appreciated. We already had a couple of requests to transform our old dictionary fields to option sets that can be managed from the UI.

    We have this task in the backlog as well, but a hand from the community will be great.

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

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top