Thank you @rabii
Can confirm that it worked with that syntax, so I have to use comma instead of semicolon. I can't get Meetings to work though. Maybe cause it a Parent-Children.
Anyway, can you help with this part?
Can I multi-field? For example:
'addressStreet' & 'addressCity': 'name',
And, special information? For example:
{todaydate} & 'addressStreet' & 'addressCity': 'name',
PS: I'll update the code in the learning thread slowly if anyone want to use it.
Video Tutorials - let me know what do you think
Collapse
This is a sticky topic.
X
X
-
I just can't understand it:
Seem OK to me... why are you like this Syntax? (Screenshot deleted because Forum restrict to 5)
Maybe like this:
Maybe I try , comma
(Screenshot deleted because Forum restrict to 5)
Maybe ) then }
Maybe I try it within the field?
Yeah, all fail as I try other variation. -
Hi shalmaxb, I already write a various different variation of this but always error, so the "code" itself is an issue as I'm writing it wrong. I'll post variation shortly and it will all fail because this extended-code is being written by me!Last edited by esforim; 11-12-2022, 03:43 AM. -
Anyone who want to copy/paste my code, I'll be updating it here: (once I learn from the pro)
In the future this thread will be use for discussion; the Wiki hosted on Github will be used instead to post update; please see: https://github.com/o-data/EspoCRM-Learning-and-Design/wiki Part 2 of this post can be found here: https://forum.espocrm.com/forum/gene...5114#post55114 (https://forum.espocrm.com/forum/general/54706Last edited by esforim; 11-11-2022, 06:03 AM. -
Hi emillod
I'm following this guide again for another entity, but this time instead of a single Field to another Field I want to "concatenate" two field, is that possible? Or do I have to create a 'helper' field formula first?
How to copy attributes while creating child record in EspoCRM
For example this is my current working code.
Can I do something like this? (I will get an error!)Code:relatedAttributeMap: { 'opportunities': { 'addressStreet': 'name', },
And follow up question, is it possible to add 'non-field'? For example: {todaydate}Code:relatedAttributeMap: { 'opportunities': { 'addressStreet' & 'addressCity': 'name', },
Code:relatedAttributeMap: { 'opportunities': { {todaydate} & 'addressStreet' & 'addressCity': 'name', },
--- Second question would be. How to add multiple entity? I'm getting and not sure how to write the syntax or add more entity.
Here a not working code:
Here is the error. I have try various way but get errorCode:Espo.define('custom:views/realestateproperty/detail', 'views/detail', function (Dep) { return Dep.extend({ relatedAttributeMap: { 'opportunities': { 'addressStreet': 'name', 'meetings': { 'addressStreet': 'name', }, } })); });
Last edited by esforim; 11-11-2022, 06:14 AM.Leave a comment:
-
Could you do a video about adding primary filters via PHP in version 7.x? It would also be helpful to see a tutorial about the Select Builder. I'm running into problems while trying to do this, which involves using both primary filters and the select builder. I think it would be useful for a lot of people.Leave a comment:
-
Thanks for your comments.
Have created image using text box, uploaded the image in knowledge base and linked with yourtube link (see script below), created reports to reflect in the dashboard.
<p style="text-align: center;"><span style="background-color: rgb(255, 255, 0);"><a href="https://youtu.be/94_yGqhAc_Y" rel="noopener noreferrer" target="_blank">
<img style="width: 520px;" src="?entryPoint=attachment&id=627a1263591eb32 73"><span style="background-color: rgb(255, 255, 0);">
</span></a>
</span></p>Leave a comment:
-
To add more value to ESPOCRM, you may bring relevant video tutorial links on the Dashboard of Users for quick reference. Attaching a screenshot of the dashboard created for a user.
My users have found this very useful and I am sharing this here since you could also try in our instances.
For free support and more ideas on how to add more value to ESPO CRM please feel free to mail me at reginald@raalink.com or call +91 999 5986 8881 PhotoLeave a comment:
-
Hello Guys,
we have new video for you: How to set advanced conditions for enum fields in EspoCRM
Link to video: https://youtu.be/-ftVdaoR9G8
In this tutorial we’ll walk you through:
- How to setup conditions for field
- How to test changes
Leave a comment:
Leave a comment: