Field multiselect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Selmane
    Junior Member
    • May 2020
    • 2

    Field multiselect

    Hi,
    I want to create a field of type ENUM which has multiple options (more than 1000) but i don't want to add the options manually because it takes a lot of time.

    Is there any way to add all the options at the same time ?
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    never do that !
    Entity -> one2many -> newEntity

    and import in newEntity your 1000 records
    and put the field in your entity.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      If you really need it to be enum type, you can edit the file custom/Espo/Custom/Resources/metadata/entityDefs/YOUR_ENTITY_TYPE.json, add options there, then clear cache.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #4
        You might also want to consider using some of telecastg Extensions. I believe 1 or 2 of those Extension might also fit your needs:
        telecastg has 6 repositories available. Follow their code on GitHub.


        I believe these two below does?

        Enum-from-SQL-Field-for-EspoCRM
        Enum-from-Metadata-for-EspoCRM

        Comment

        Working...