New modules?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frankstyle
    Junior Member
    • Jun 2014
    • 2

    New modules?

    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
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    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.




    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

    • frankstyle
      Junior Member
      • Jun 2014
      • 2

      #3
      Thank you, Yurikuzn

      Comment

      • eddywebs
        Junior Member
        • Jul 2014
        • 3

        #4
        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

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          Hi

          No documentation yet. You can add fields using Admin >> Field Manager. View files for fields is is here: client/src/views/fields/*. You can add your our field type in metadata: application/Espo/Resources/metadata/fields/*
          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

          • eddywebs
            Junior Member
            • Jul 2014
            • 3

            #6
            Thanks @yurikuzn is it possible to add business rules or validation checks against exiting fields ?

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              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.
              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

              • eddywebs
                Junior Member
                • Jul 2014
                • 3

                #8
                Originally posted by yurikuzn
                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.
                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.

                I understand this quite a new project, this could be one of a great things to document/implement in future.

                -Adi

                Comment

                • cs1h
                  Junior Member
                  • Jul 2014
                  • 5

                  #9
                  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)
                  Any help would be appreciated.

                  Thanks,
                  cs1h

                  Comment

                  • yuri
                    Member
                    • Mar 2014
                    • 8440

                    #10
                    New Entity type? I can't describe all needed strep, it's too long. Soon will be a post on our blog.
                    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

                    • Manuelnice
                      Junior Member
                      • Jul 2014
                      • 1

                      #11
                      hi, i was make a download of crm and i love it!!!!
                      now i want to know if this crm have a modules:
                      Tickets
                      invoice
                      quotes
                      customer area / client area

                      Comment

                      • yuri
                        Member
                        • Mar 2014
                        • 8440

                        #12
                        You can use Cases as Tickets.
                        EspoCRM doesn't have Quotes and Portal for now.
                        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

                        • yuri
                          Member
                          • Mar 2014
                          • 8440

                          #13
                          Originally posted by eddywebs

                          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.
                          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

                          • binkem
                            Junior Member
                            • Nov 2016
                            • 1

                            #14
                            EspoCRM is greate to me, but I dont know develop and deploy a new module step by step, if EspoCRM have a document or wiki for developer then it so good

                            Thanks so much

                            Comment

                            • tanya
                              Senior Member
                              • Jun 2014
                              • 4308

                              #15
                              Note: It's possible to create custom entity through Admin UI. This article is outdated. I'm going to show you how to create new entities in EspoCRM manually. We will make new simple module called PM (Project Management) with Projects and Tasks entities.

                              Comment

                              Working...