Answers.Body: <p>For the category, you need to pass an array of objects and choose to match on title (or ID if you have them).</p>
  <p>For the dropdown, pass in the value, not the label and it will work. Try this:</p>
  <pre class="lang-json prettyprint-override"><code>[
    {
      &quot;title&quot;: &quot;Product: A type of Chair&quot;,
      &quot;dropdown&quot;: &quot;valueNotLabel&quot;,
      &quot;category&quot;: [
        {
          &quot;id&quot;:&quot;1234&quot;
          &quot;title&quot;:&quot;Wing Chair&quot;
        },
        {
          &quot;id&quot;:&quot;5678&quot;
          &quot;title&quot;:&quot;Another category&quot;
        }
      ],
      &quot;description&quot;: &quot;Text here&quot;
    }
  ]
  </code></pre>
  <p>To find your category ID, you can click the small cog (customize) on your Categories page in your control panel and add the ID column to your table.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-11T18:37:50.823Z
Answers.Text: Ah, thanks! I'll give that a try and report back.
Answers.UserDisplayName: doctorgloom
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-11T18:51:58.703Z
Answers.Text: Worked like a charm! Thanks so much for the help.
Answers.UserDisplayName: doctorgloom
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-11T06:54:21.877Z
Answers.LastActivityDate: 2020-12-11T08:39:45.320Z
Answers.LastEditDate: 2020-12-11T08:39:45.320Z
Answers.UserDisplayName: Oli
Body: <p>I've successfully exported product entries out of an ancient version of ExpressionEngine (1.7.1) into a JSON file and for the most part I've successfully imported that JSON using FeedMe—except for two things: Categories and a field that is a Dropdown menu in Craft.</p>
  <p>The most important thing is the Categories (I can live without the dropdown field if I have to), but I thought I'd mention it because I thought the solutions might be related.</p>
  <p>In Craft I have a Category Group with Existing Categories. <em><strong>What I want to do is have the entries I import match into those existing categories</strong></em>; the Craft Categories are an exact copy of the old ExpressionEngine categories so they are exactly the same.</p>
  <p>I can't figure out what FeedMe/Craft is looking for to &quot;match&quot; the JSON category field to the corresponding existing category. I've tried the cat name and the cat slug. I've also tried Cat Id but I'm not sure I had the right Id value (I couldn't find an obvious place where the Cat Id is listed in Craft so I did an export on the Categories page and tried what I found in there).</p>
  <p>Here is a simplified version of the JSON I'm importing:</p>
  <pre><code>[
    {
      &quot;title&quot;: &quot;Product: A type of Chair&quot;,
      &quot;dropdown&quot;: &quot;Chair&quot;,
      &quot;category&quot;: &quot;Wing Chair&quot;,
      &quot;description&quot;: &quot;Text here&quot;
    }
  ]
  </code></pre>
  <p>I actully have many more fields, which all import fine, but the category and dropdown won't no matter what I try.</p>
  <p>In the FeedMe Content Fields when I choose the Feed Element for the Category field (which I'm able to select) but under it there is a drop down with instructions that say:</p>
  <p><strong>Data provided for this category is:</strong></p>
  <p>And the drop down is a listing of all the possible Craft fields, EXCEPT for the Craft Category field; so I'm completely confused by this.</p>
  <p>I'm sure this is something basic that I'm just missing, but I'm new to Craft/FeedMe and none of the other quesions on here that I could find were matching existing categories.</p>
  
Tags: <categories><plugin-feedme>
Title: Match to Existing Category on FeedMe Entry Import JSON
ThreadText: # Match to Existing Category on FeedMe Entry Import JSON
  
  (Asked by: username_0 on 2020-12-10)
  
  I've successfully exported product entries out of an ancient version of ExpressionEngine (1.7.1) into a JSON file and for the most part I've successfully imported that JSON using FeedMe—except for two things: Categories and a field that is a Dropdown menu in Craft.
  
  The most important thing is the Categories (I can live without the dropdown field if I have to), but I thought I'd mention it because I thought the solutions might be related.
  
  In Craft I have a Category Group with Existing Categories. ***What I want to do is have the entries I import match into those existing categories***; the Craft Categories are an exact copy of the old ExpressionEngine categories so they are exactly the same.
  
  I can't figure out what FeedMe/Craft is looking for to "match" the JSON category field to the corresponding existing category. I've tried the cat name and the cat slug. I've also tried Cat Id but I'm not sure I had the right Id value (I couldn't find an obvious place where the Cat Id is listed in Craft so I did an export on the Categories page and tried what I found in there).
  
  Here is a simplified version of the JSON I'm importing:
  
  ```
  [
    {
      "title": "Product: A type of Chair",
      "dropdown": "Chair",
      "category": "Wing Chair",
      "description": "Text here"
    }
  ]
  
  ```
  
  I actully have many more fields, which all import fine, but the category and dropdown won't no matter what I try.
  
  In the FeedMe Content Fields when I choose the Feed Element for the Category field (which I'm able to select) but under it there is a drop down with instructions that say:
  
  **Data provided for this category is:**
  
  And the drop down is a listing of all the possible Craft fields, EXCEPT for the Craft Category field; so I'm completely confused by this.
  
  I'm sure this is something basic that I'm just missing, but I'm new to Craft/FeedMe and none of the other quesions on here that I could find were matching existing categories.
  
  **Tags:** categories, plugin-feedme
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-12-11. Score: 1 | Accepted answer
  
  For the category, you need to pass an array of objects and choose to match on title (or ID if you have them).
  
  For the dropdown, pass in the value, not the label and it will work. Try this:
  
  ```json
  [
    {
      "title": "Product: A type of Chair",
      "dropdown": "valueNotLabel",
      "category": [
        {
          "id":"1234"
          "title":"Wing Chair"
        },
        {
          "id":"5678"
          "title":"Another category"
        }
      ],
      "description": "Text here"
    }
  ]
  
  ```
  
  To find your category ID, you can click the small cog (customize) on your Categories page in your control panel and add the ID column to your table.
  
  > **Comments:**
  > **username_0**: Ah, thanks! I'll give that a try and report back.  
  > **username_0**: Worked like a charm! Thanks so much for the help.  
  
  ---
  
  