Specifies the toolbox icon for a custom workflow action.
<NintexWorkflowActivity> <ToolboxIcon>string</ToolboxIcon> </NintexWorkflowActivity>
Characteristic | Description |
Data type and length | String |
Default value | None |
Cardinality | 1..1: Required element that occurs only once. |
Relationship | Element |
Parent elements | NintexWorkflowActivity |
Child elements | None |
The toolbox icon is displayed for the action in the Controls Toolbox of the Nintex Workflow designer. The value of this element should be set to the relative URL of the image used for the toolbox icon. The Workflow designer attempts to retrieve an image that matches the current locale, determined by the locale ID of the current culture for the current thread. If a matching image cannot be retrieved, Workflow designer uses the image that matches the default locale ID, 1033 (English - United States).
An 8-bit image, 30 pixels by 30 pixels in size, is recommended. If a valid image cannot be loaded by Nintex Workflow 2013 export (.nwp) file, the Workflow designer displays a placeholder for the custom workflow action in the Controls Toolbox, with the value provided in the Description element, as illustrated in the following example:
When the action definition file is imported in Nintex Workflow Management, the Toolbox icon field is set to the value of this element.
The following example contains the relative URL of the image used as the toolbox icon for the custom action included in the ExecuteSqlScalar sample. For more information about the ExecuteSqlScalar sample, see ExecuteSqlScalar sample.
<ToolboxIcon>/_layouts/NintexWorkflow/CustomActions/ExecuteSqlScalarAction/Images/ExecuteSqlScalarActionIconSmall.png</ToolboxIcon>