Announcement

Collapse
No announcement yet.

How to fill a ENUM-Box with attributes from an (other) entity

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

  • esforim
    replied
    It happening guys!! https://github.com/espocrm/espocrm/issues/2695

    Leave a comment:


  • bewisesolutions
    replied
    Hi Eymen Elkum ,

    Your extension is exactly what I am looking for. Is it already finished and available?

    Leave a comment:


  • eymen-elkum
    replied
    BTW, we developed an extension and going to announce it soon that about enum list sources, so you can define source option list and make it shared between multiple enum fields, here is some screenshots:
    Attached Files

    Leave a comment:


  • telecastg
    replied
    If you are open to do some coding, options for enum or multi-enum fields can be dynamically defined. Here's a link with some examples: https://forum.espocrm.com/forum/deve...multi-enum-etc

    Leave a comment:


  • yuri
    replied
    + need to let access control know to not to forbid access if a user don't have access to scope.

    https://github.com/espocrm/espocrm/b...tadata.json#L3
    https://github.com/espocrm/espocrm/b...nguage.json#L3

    Leave a comment:


  • eymen-elkum
    replied
    Hello,

    Let's say you want a field named Industry and you want to copy options from Account.Industry:

    Just go to application/custom/Espo/Custom/Resources/metadata/entityDefs/{YOUR_SCOPE}.json

    Code:
    "industry": {
       "type": "enum",
       "customizationOptionsDisabled": true,
       "optionsPath": "entityDefs.Account.fields.industry.options",
       "translation": "Account.options.industry",
       "isSorted": true
    },
    ​
    ref: https://github.com/espocrm/espocrm/b...nity.json#L199

    Leave a comment:


  • victor
    replied
    Hi ctheuring,

    Please describe the desired functionality in more detail. If you can, please attach screenshots or a diagram of what you want to configure.

    Leave a comment:


  • How to fill a ENUM-Box with attributes from an (other) entity

    Hello,
    I've searched some hours to find a solution or an example for the above requirement.
    2nd requirement is to restrict the ENUM-List in dependency of a (chosen) attribute in another ENUM-filed in the sam entity.
    Example: a list of streets from the entity "streets" (with attributes/fields city and street) in dependency of the chosen city.
    Who can help me?
    Christoph
Working...
X