Categorizing records is critical to having meaningful processes and reports. The most common way to categorize records is according to options available in a drop-down list style field. The drop-down list style field is called a "picklist" in Microsoft Dynamics CRM Online. This article describes how to create new picklist fields and configure existing picklist fields.
Create a new picklist field
Each record type (entity) in Microsoft Dynamics CRM Online contains a number of attributes. All fields in the entity form represent attributes that have been added to the entity form. Not all attributes are necessarily displayed in the entity form. Before creating a new attribute, check whether a suitable picklist attribute already exists for your purpose.
- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity for which you want to create a new picklist attribute.
- Under Details, click Attributes.
- To add a new attribute, on the Actions toolbar, click New and enter the Display Name.
- A Name will be generated based on the Display Name. You can edit the name if you wish.
- In the Type field, select Picklist.
Add picklist options:- In the Type column, click Add.
- In the Add List Value dialog box, enter a Value and a Label.
- Value is a positive whole number below 2,147,483,646.
Note
If the picklist attribute is a system attribute, an attribute set by Microsoft Dynamics CRM Online by default, the value numbering starts at 200,000. Values below 200,000 are reserved.
- Label is the text you want the option to display
- Click OK
- You can specify the default value by choosing one of the available options in the Default Value field.
- When you have finished adding options, click Save and Close.
Add the attribute to the form:- In the entity form, click Forms and Views.
- In the list of forms and views, double-click Form to open the form editor.
- In the Common Tasks area, click Add Fields.
- In the Add Fields dialog box, select the picklist attribute you created.
- In the Location area, in the Tab and Section lists, select the tab and section in which you want to place the selected field or fields, and then click OK.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Add a new picklist option
Tip
If you are adding a new option to a picklist that has already been in use, be sure to check whether there are any scripts or workflows that are dependent on the options defined in the picklist. If you include a new option that is not incorporated into the business processes that the scripts or workflows support, you may introduce inconsistent application of the business process.
Navigate to the picklist attribute.- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity you want to edit.
- Under Details, click Attributes.
- Click the Type column to sort and group attributes by type.
- Locate the picklist attribute and double-click it to open it.
- In the Type column, click Add.
- In the Add List Value dialog box, enter a Value and a Label.
- Value is a positive whole number below 2,147,483,646.
Note
If the picklist attribute is a system attribute, an attribute set by Microsoft Dynamics CRM Online by default, the value numbering starts at 200,000. Values below 200,000 are reserved.
- Label is the text you want the option to display.
- When you are finished editing the picklist option, click OK.
- Click Save and Close to close the attribute form.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Edit a picklist option
Picklist options have two parts:
- The value is a number that is unique for the field and is saved in the database.
- The label is the text that is displayed to the user that represents the value.
You can change the label without changing the value to make the meaning of the option clearer.
Navigate to the picklist attribute.- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity you want to edit.
- Under Details, click Attributes.
- Click the Type column to sort and group attributes by type.
- Locate the picklist attribute and double-click it to open it.
- In the Type column, click Edit.
- Change the Label to the text you want to use.
Note
When editing the Value:
- For custom picklist attributes, you can set the value to any positive whole number below 2,147,483,646 as long as it isn't used by another option.
- For system picklist attributes, a picklist attribute set by Microsoft Dynamics CRM Online by default, you can only change the value of the picklist option to a number above 199,999 that isn't used by another option.
- When you are finished editing the picklist option, click OK.
- Click Save and Close to close the attribute form.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Change the order of picklist options
Generally, you want the most frequently used options to be available at the top of a picklist. However, if the number of options is long or there isn't any particular option that is used more frequently you may want to sort them alphabetically.
Navigate to the picklist attribute.- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity you want to edit.
- Under Details, click Attributes.
- Click the Type column to sort and group attributes by type.
- Locate the picklist attribute and double-click it to open it.
- To position options individually, in the Type column, select the option and click Move Up or Move Down.
- To sort all options alphabetically, in the Type column, click Sort Ascending or Sort Descending.
- Click Save and Close to close the attribute form.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Delete a picklist option
Important
If any records currently use the picklist option you are deleting, the data in the field will be invalid. It will not be possible to locate the record using the picklist field value as a criteria in Advanced Find.
When a record using the deleted value is opened, the default picklist option will be displayed, but the data values stored in the record for that field will not be updated until someone manually saves the record.
Before deleting a picklist option used by any records, you should locate those records using Advanced Find and bulk edit them so that the field value for the picklist uses a different option.
Navigate to the picklist attribute.- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity you want to edit.
- Under Details, click Attributes.
- Click the Type column to sort and group attributes by type.
- Locate the picklist attribute and double-click it to open it.
- In the Type column, select the option and click Delete.
- Click OK at the message to continue.
- Click Save and Close to close the attribute form.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Set a default picklist option
A default option is a great time saver when you can assume that a particular value is true the majority of the time. However, by setting a default option you never know for sure if people took the time to consider if the option was appropriate for a particular record. If the quality of the data in a picklist field is critical to your business process, make the field required and do not set a default option.
Navigate to the picklist attribute.- In the Navigation Pane, click System Settings, click Customization, and then click Customize Entities.
- Open the entity you want to edit.
- Under Details, click Attributes.
- Click the Type column to sort and group attributes by type.
- Locate the picklist attribute and double-click it to open it.
- In the Type column, in the Default Value field, select the option that should be the default value, or select Unassigned Value if a default value should not be set.
- Click Save and Close to close the attribute form.
When you finish editing the entity, publish it.- On the Actions menu, click Publish.
- Click Save and Close to close the entity.
Related Links
Configure fields
Create or Edit Entity Attributes
Entity customizations