# slxGetPickID

### slxGetPickID(picklistName, itemName)

Retrieve the ID for the specified item in the specified picklist. The picklist can be specified by name (e.g. "Activity") or by ID (e.g. "kSYST0000001").

## Arguments

Argument | Data Type | Description
picklist Name or ID | string | name or ID of the picklist to search for the item name
item name | string | name of the item in the picklist

## Returns

String - valid pick list item ID if found.

## Description

The returned ID can be used when mapping to appropriate fields in SalesLogix.

## Examples

Example | Returns | Description
slxGetPickID("Fred Smith") | ID if found |

## See Also

None.