GetValueListItemIconURL
Description
Retrieves the URL of the icon associated with a specific value list item.
Syntax
// shellUI points to instance of IShellUI
const result = await shellUI.GetValueListItemIconURL(valuelist, valuelistItem);
Parameters
Name | Optionality | Type | Description |
---|---|---|---|
valuelist | Required | number | The ID of the value list. |
valuelistItem | Required | number | The ID of the value list item. |
Return type
Type | Description |
---|---|
Promise < string > | A promise that resolves to the icon URL if the item has an icon; otherwise, an empty string. |