Announcement
Collapse
No announcement yet.
How to fill a ENUM-Box with attributes from an (other) entity
Collapse
X
-
Hi Eymen Elkum ,
Your extension is exactly what I am looking for. Is it already finished and available?
Leave a comment:
-
-
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:
-
+ 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
- Likes 2
Leave a comment:
-
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 },
- Likes 3
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?
ChristophTags: None
Leave a comment: