Announcement

Collapse
No announcement yet.

Field multiselect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?

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

    and import in newEntity your 1000 records
    and put the field in your entity.

    Comment


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

      Comment


      • #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...
        X