Announcement

Collapse
No announcement yet.

Exporting Enum values

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

  • Exporting Enum values

    Hi

    I like to import som field Enum values from one ESPO-instance to an other.
    Is the Enum values stored in database or file. I can not locate these values.

    Please tell me where to look?

    Greeings from Denmark

  • #2
    Hi
    Enum field contains options (keys) and translation.
    You can find list of options in /application/Espo/Modules/{ModuleName}/Resources/metadata/entityDefs/{Entity}.json (or /custom/Espo/Custom/Resources/metadata/entityDefs/{Entity}.json) -> fields -> {fieldName} -> options
    translation - /application/Espo/Modules/{ModuleName}/Resources/i18n/{lang}/{Entity}.json (or /custom/Espo/Custom/Resources//i18n/{lang}/{Entity}.json) -> options -> {fieldName}

    record enum value is stored in db as a option key (does not depending on language)

    Comment

    Working...
    X