When i am in de details of an email and i have created my own entity from the type event, how can i this to show up here:
Announcement
Collapse
No announcement yet.
Beginners question
Collapse
X
-
You need to learn how to code a custom button.
There is a few guide and video guide on how to create a general button, have a look through here: search for "button"
https://github.com/o-data/EspoCRM-Le...ign/wiki/Home/
- Likes 1
-
Check! i have followed this guide: How to create dropdown button which will let user to create new task with pre-filled fields - YouTube and that is exactly what i wanted! i have my button and i copy over fields from the email.
One other quiestion tho. Are attachements fields handled different? I want to copy over the attachments to my custom entity to a multi attachment field and i tried copy over the field with is, but the attachments arent copied. I do get copied the contact name and the subject.:
attributes.fotos = this.model.get('attachements');
attributes.fotosIds = this.model.get('attachementIds');
Comment
-
Ok, found it. besides the typo i made... i added this:
attributes.fotosIds = this.model.get('attachmentsIds');
attributes.fotosNames = this.model.get('attachmentsNames');
attributes.fotosTypes = this.model.get('attachmentsTypes');
Now the attachments links comes over to my entity.
- Likes 2
Comment
Comment