SDK: Custom Step Icons
  • 04 May 2021
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

SDK: Custom Step Icons

  • Dark
    Light

Article summary

Overview

If a step is created using the SDK, a custom icon for the step can be added with the ShapeImageAndColorProvider attribute.

Example

When creating a step, add the ShapeImageAndColorProvider attribute.

[Writable]
[ShapeImageAndColorProvider(null, "flow step images|string.svg")]
[AutoRegisterStep("Custom Step Examples", "SDK Examples")]
public class CustomSDKStep2 : BaseFlowAwareStep, ISyncStep, IDataConsumer
{
    private const string YES_RESULT = "Yes";
    private const string NO_RESULT = "No";


The string, "flow step images|string.svg", is going to look in the install directory C:\Program Files\Decisions\Images\ for the Flow step images folder and the 'string.svg' image inside that folder.


Default:
Updated:



Was this article helpful?