# Picklists

In Dynamics CRM, a Picklist Field is used to present a range of choices to the user.

Examples of Picklist fields include:

- account: Category, Industry, Ownership
- contact: Role, Gender, Marital Status

A picklist field is stored as an integer, but displayed as text. For example, the Marital Status field may display "Single", but the value stored is 1.

Inaport will let you map either an integer value (e.g. 1) or a text value (e.g. "Single") to a picklist field.

If you map a string to a Picklist field, it must match a label from the Picklist in the language of the logged in user.

If the value provided does not match any existing picklist value, the default value for the picklist will be used.

### Automatically adding picklist values

There is an option in the Dynamics CRM Connector to allow any picklist to have new values added automatically.

If you check the option "Add new values to Picklist attributes" and then map strings to any picklist field, Inaport will first check the picklist to see if the value exits. If it does not exist, it will be added to the picklist automatically.

NOTE: Each time a new value is added, the modification will be published.