# Category

## Possible Entity Keys

Category supprots ID or Name as entity key.

{% hint style="warning" %}
Your entity key must be unique. If you have two categories with same Name fields, you will not be able to use Name as entity key.
{% endhint %}

## Column Destinations

{% hint style="info" %}
Altohugh category has many different column destinations, we would describe only ones that have special functionality.
{% endhint %}

<table><thead><tr><th width="213">Column destination</th><th>Explanation</th></tr></thead><tbody><tr><td>Key (Category Id)</td><td>The value that you selected as entity key for this template.<br><br>If you selected <strong>Name as key</strong>, you can specify either full path, or most bottom category name. For example, <strong>Laptops>>Macbook</strong> or just <strong>Macbook</strong>. Note, if you are specifying full path, your parent category <em>must</em> exist, if category is newly created, it will be assigned to parent category automatically. If you are specifying most bottom category name, it <em>should</em> be unique.</td></tr><tr><td>Picture</td><td>File name of a picture (ex. phone.png), or URL to a picture, or full path on server.</td></tr><tr><td>Discount Name or ID</td><td>You can specify <strong>multiple discounts</strong> in one cell, you should use | (vertical bar) symbol for this. Example, <strong>20% off|30% off</strong> would apply 20% off and 30% off discounts.</td></tr></tbody></table>

{% hint style="info" %}
All other column destinations do not support inputing multiple values in one cell, and they don't support using multiple columns as well.
{% endhint %}

## Example Table

<table><thead><tr><th width="222">Category Name</th><th width="309">Picture</th><th>Show on home page</th></tr></thead><tbody><tr><td>Laptops</td><td>laptops.png</td><td>TRUE</td></tr><tr><td>Laptops>>Macbook</td><td>https://example.com/macbook.png</td><td>FALSE</td></tr><tr><td>Laptops>>Gaming</td><td>C:\Pictures\gaming.png</td><td>TRUE</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://importmanager.docs.foxnetsoft.com/column-mappings/category.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
