Problems wuth Cutom Entity.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smaction
    Member
    • Apr 2018
    • 68

    Problems wuth Cutom Entity.

    Hi using the documentation and the suggested files as examples, I still cannot get my new entity / fields to work. When I am on the entity screen, I click create and all get is the loading... message at the top of the page.

    Help.
  • smaction
    Member
    • Apr 2018
    • 68

    #2
    I really need help with this issue. Any suggestions?

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      hello,
      please open browser console and check errors and in network tab, what file is loading

      Comment

      • smaction
        Member
        • Apr 2018
        • 68

        #4
        Thanks Tanya.

        I get nothing in the console. I have attached an export of the network tab output. I only see 200 for pages loaded.

        Regards,

        Scott
        Attached Files

        Comment

        • smaction
          Member
          • Apr 2018
          • 68

          #5
          As you can see in the above attachment. None of the files I created (following the blog post for creating a custom entity are being called.

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            Check clientDefs and views paths and defs.
            You can compress these files and attach an archive, to I can check it

            Comment

            • smaction
              Member
              • Apr 2018
              • 68

              #7
              Thanks Tanya. Here is everything in my KW directory.
              Attached Files

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                i haven't found module.json like this one https://github.com/espocrm/espocrm/b...es/module.json
                after you create it - rebuild system

                Comment

                • smaction
                  Member
                  • Apr 2018
                  • 68

                  #9
                  Where should the file be located? I followed the link and there is a module.json in that directory on my system.

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #10
                    ​​​​​​application/Espo/Modules/{YourModule}/Resources/module.json
                    in your case {YourModule} is KW, as I understood

                    Comment

                    • smaction
                      Member
                      • Apr 2018
                      • 68

                      #11
                      Still same problem.

                      Comment

                      • smaction
                        Member
                        • Apr 2018
                        • 68

                        #12
                        Where do I go from here?

                        Comment

                        • smaction
                          Member
                          • Apr 2018
                          • 68

                          #13
                          Please respond. What is the next step? I can find no other documentation.

                          Comment

                          • smaction
                            Member
                            • Apr 2018
                            • 68

                            #14
                            More problems with this. I tried removing my entire KW directory (so I could try again from scratch) and Keywords still appear in my menu after a rebuild and a page refresh. Help

                            Comment

                            • smaction
                              Member
                              • Apr 2018
                              • 68

                              #15
                              More weirdness: When I create my Keywords entity from the UI (even though it is in the menu already) I get an entity that has all the custom fields I created in my now deleted entity?!

                              Comment

                              Working...