Component Service Type

This service type lets you create a ComponentSelectionChanged function type in a dashboard extender rule within assemblies. You can do this by choosing this service type or by choosing the Dashboard Extender business rule type. These rules are usually used to perform custom tasks within workspaces. Developers often use this Dashboard extender rule as it handles all actions occurring due to interactions with dashboard components, such as grids or combo boxes. These rules are referenced in the action properties of a given component.

Create this file after the Service Factory file has been created and the appropriate lines of code have been uncommented. Here is an example of a dashboard service type in C#:

Sample Service Factory with an component service type that has a yellow highlight line on lines 43-44.

Given the changes in the code, you would configure the dashboard service file in the following way:

Component Service selected from Source Code Type in Add File dialog box

NOTE: The file name should match the return function in the Service Factory file.

The following is an example of an assembly file that is operating the two highlighted icons in the dashboard:

Example of an assembly file with two highlighted icons in dashboard with a yellow highlight around the randomize and reset icon.

The Randomize icon fills the labels with random values, while the second icon resets the values to their original state. The logic, populated within the assembly file, runs when you click a button.

Workspace logic sample.

The syntax for referencing this object is {WS}{FunctionName}{Parameter1=Value1}.

The syntax for using the Assembly Service on the Maintenance level is {WSMU}{FunctionName}{Parameter1=Value1}.