Datapolis Process System SDK
Designer Color Schemas
Starting from Workbox 2.1 there is a possibility of defining custom color schemas for Datapolis Process System Designer. With this feature you can achieve greater readability (e.g. for presentation purposes), enforce common company-wide theme or simply set colors you find most aesthetical.
About Schemas
Datapolis Process System comes with a set of built-in color schemas. These schemas are always present and cannot be removed. In standard Datapolis Process System there are four of them:
Color name
Dark
Light
Navy Blue
Dark Green
Note
Selecting a Schema
To select a schema, open Workflow Properties form in Datapolis Process System Designer. Schema selection is done through a drop-down list located in the upper-right of the window.
Any custom schema found will also be listed here.
Managing Schemas
Custom color schemas are defined on per-Web Application basis, meaning that all your schemas will be shared on every Site and Site Collection of the Web Application.
Custom schemas are defined in Web Application's web.config file, in appSettings section. Schema is defined in a key which name begins with WBDesignerTheme_. Value of the key contains set of attributes separated with semicolons.
A sample color theme can look like this:
<
add
key
=
"WBDesignerTheme_1"
value="
Title
Sample
Color Theme;
IsDefault
false
;StateHelperColor=#FFFF0000;
ActionTitleFontColor=#ff0000ff;ActionTitleBackgroundColor=#ffff0000;
EndStateStrokeColor=#FF00FF00;EndStateColor1=#FF0000FF;EndStateColor2=#FF00FF00;EndStateColor3=#FFFF0000;
EndStateColor4=#FFFFFF00;StartStateStrokeColor=#FF00FFFF;StartStateColor1=#FF0FF0FF;StartStateColor2=#FF000FF0;
StartStateColor3=#FFF0F000;StartStateColor4=#FFF0FF0F;DecisionStrokeColor=#FF00F6F6;DecisionFillColor=#FF754612;
StateSchema6Color1=#FF627238;StateSchema6Color2=#FF112233;StateSchema6Color3=#FFab72cd;
StateSchema6Color4=#FF00ffaa;StateSchema6Color5=#FFcacaca;StateSchema6BorderColor=#FF667788;
StateSchema3Color1=#FFff0000;StateSchema3Color2=#FFff0000;StateSchema3Color3=#FFff0000;
StateSchema3Color4=#FFff0000;StateSchema3Color5=#FFff0000;StateSchema3BorderColor=#FFff0000;
StateSchema4Color1=#FF00ff00;StateSchema4Color2=#FF00ff00;StateSchema4Color3=#FF00ff00;
StateSchema4Color4=#FF00ff00;StateSchema4Color5=#FF00ff00;StateSchema4BorderColor=#FF00ff00;
StateSchema4FontColor=#FF000000;StateSchema4IconsColor=#ffffff00" />
Complete list of available attributes can be found in Attributes Reference.