With any non-many to many relationships espo automatically creates a field (link) for both entites, but with many to many it is not generating that field... is there a way to solve this?
Many to Many relationships, no field
Collapse
X
-
Tags: None
-
also with my one to many, I have a field option for the side of which there is many and they can pick the one entity they are linked to, but for the one entity they are linked to you can't see what many smaller entities it's connected to... -
You can create linkMultiple field manually. It was not made for a sake of performance. If there is a lot of relater records having linkMultiple field will increase loading significantly.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
-
my net goals is to have it so that Accounts(i've renamed companies) can have many different Contacts, but Contacts can only have one Company(account). I tried to do a one to many link but it didn't generate a field, and doesn't handle situations were someone may be employeed by too different companies(it's fine if that's not covered).Comment
-
Add new field entityDefs
"fields": {
"nameOfFIeldShouldBeTheSameAsYourLinkName": {
"type": "linkMultiple"
}
}
See application/Espo/Modules/Crm/Resources/metadata/entityDefs/ There are examples.
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Thank you so much you're a life saver! I love the tool and appreciate it soo much. Two of my employers are looking to purchase the advanced pack shortly!Comment
Comment