Import Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nocstaff@urbancom.net
    Junior Member
    • Jul 2025
    • 7

    #1

    Import Help

    I have a CRM that I am moving away from that has knowledgebase articles in XML format that I want to import into EspoCRM and Comments from a ticketing system that I want to import to EspoCRM. Does anyone have an easy way to accomplish both of these imports?
  • lazovic
    Super Moderator
    • Jan 2022
    • 1108

    #2
    Hi nocstaff@urbancom.net,

    To allow import of notes in EspoCRM, you need to specify the following in the {ESPO_DIR}/custom/Espo/Custom/Resources/metadata/scopes/Note.json file:
    Code:
    {
      "importable": true
    }
    During import, make sure that
    • the parent type is specified (e.g., Case or Ticket)
    • the parent ID is specified
    • the note type is specified as Post
    Also, please note that you can import records into EspoCRM instance only in the CSV format.
    Last edited by lazovic; Yesterday, 08:39 AM.

    Comment

    • nocstaff@urbancom.net
      Junior Member
      • Jul 2025
      • 7

      #3
      Thank you for responding back. I went to /var/www/espocrm/data/espocrm/custom/Espo/Custom/Resources/metadata/scopes and only saw a SMS.json file. I created a Note.json file and added

      {
      "importable": true
      }

      I cleared cache and did a rebuild. I went back to import the csv and when mapping notes I do not see Post as an option

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 1108

        #4
        nocstaff@urbancom.net,

        In the Default Values tab in Step 2 of import, choose Post as type:

        Click image for larger version

Name:	image.png
Views:	12
Size:	7.0 KB
ID:	119427

        Comment

        • nocstaff@urbancom.net
          Junior Member
          • Jul 2025
          • 7

          #5
          This is what I have:

          Click image for larger version

Name:	image.png
Views:	11
Size:	27.9 KB
ID:	119431
          and if I choose type, post is not there either

          Comment

          • lazovic
            Super Moderator
            • Jan 2022
            • 1108

            #6
            nocstaff@urbancom.net,

            Please select the Type field and take a screenshot of its values.

            Comment

            • nocstaff@urbancom.net
              Junior Member
              • Jul 2025
              • 7

              #7
              This is what I see as options

              Click image for larger version

Name:	image.png
Views:	9
Size:	18.4 KB
ID:	119436
              Click image for larger version

Name:	image.png
Views:	9
Size:	10.2 KB
ID:	119437

              Comment

              • nocstaff@urbancom.net
                Junior Member
                • Jul 2025
                • 7

                #8
                These are the types of cases I added for the "Type" dropdown.

                Comment

                • lazovic
                  Super Moderator
                  • Jan 2022
                  • 1108

                  #9
                  nocstaff@urbancom.net,

                  So you have selected the wrong entity for import. There should be a Note entity in Step 1 of import.

                  Also, keep in mind that you need to select the type in the Default Values panel:

                  Click image for larger version

Name:	image.png
Views:	8
Size:	7.0 KB
ID:	119442

                  Comment

                  • nocstaff@urbancom.net
                    Junior Member
                    • Jul 2025
                    • 7

                    #10
                    Ok before I do this, how do I associate the notes with each case then? I already imported all of the cases without the notes for each case

                    Comment

                    • lazovic
                      Super Moderator
                      • Jan 2022
                      • 1108

                      #11
                      nocstaff@urbancom.net,

                      It all depends on what fields are in your CSV file. Workflow should be able to relate specific notes to specific tickets/cases.

                      Comment

                      • nocstaff@urbancom.net
                        Junior Member
                        • Jul 2025
                        • 7

                        #12
                        I went and selected Notes instead of Cases in the entity type in step 1, and now as you said, I am able to select Post as an option in Default value in step 2. I'm still a little confused about how to match the comments with the correct cases, however. I included 2 screenshots of what my csv table headers look like. Do I have to add a different row to this file in order to make it work, or can I just use my pre existing headers? I'm not certain what fields needs to be filled in here.
                        Attached Files

                        Comment

                        Working...