Exporting Enum values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dafnie
    Senior Member
    • Dec 2015
    • 140

    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
  • tanya
    Senior Member
    • Jun 2014
    • 4308

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