Hi guys, I feel this is a great project with an enormous potential. I love it. As you know, every CRM manager sometimes needs to implement new modules beyond the CRM standard ones. Is there an easy way to do this with EspoCRM (i.e. starting from a template, via API, SDK...) or I need to do it changing the actual CRM php code? Thank you so much
Announcement
Collapse
No announcement yet.
New modules?
Collapse
X
-
Hi
Thank you for your feedback. It's possible to add new modules w/o changing any core files now. But there is no an ability to upload modules for now. We will make it in future.
Creating new modules and entities is not difficult. Directories:- application/Espo/Modules/{newModule} (camelCase name)
- client/modules/{new-module} (hyphen lower case name)
The client dir is not necessary.
- Likes 1
-
Very excited about this project ! I have had managed crm system for multiple organizations and had been thinking of adopting a truly open source project to move forward.
How can one add additional fields to stock entities like account and contacts ?
also is there any documentation of adding custom business rules /validation checks ?
Comment
-
All supported validation checks are available in field manager. If you want custom - you need some custom coding.
What do you mean saying business rules? Operations against entity or dynamic forms? There is no ability to define rules to hide/show fields etc. It needs js coding.
Comment
-
Originally posted by yurikuzn View PostWhat do you mean saying business rules? Operations against entity or dynamic forms? There is no ability to define rules to hide/show fields etc. It needs js coding.
Also a little complex business rules like do a validation check against a field only when certain event occur: e.g. check value in account record, if an opportunity is closed for the same account.
I understand this quite a new project, this could be one of a great things to document/implement in future.
-Adi
Comment
-
Hi yurikuzn,
I was just wandering if you have any examples of what would need to be added in order to make a custom module? I have tried to follow your instructions (see below) but with limited success.
Creating new modules and entities is not difficult. Directories:- application/Espo/Modules/{newModule} (camelCase name)
- client/modules/{new-module} (hyphen lower case name)
Thanks,
cs1h
Comment
-
Originally posted by eddywebs View Post
Yes one of the aspects of business rule is: showing and hiding fields based on profile setting of the logged in user.
Also a little complex business rules like do a validation check against a field only when certain event occur: e.g. check value in account record, if an opportunity is closed for the same account.
In the next version it will be possible to declare dynamic form logic. Depending on some field value can force to hide, show, make required another field. The logic is declared in JSON format.
Comment
Comment