Dashboard Service Type

This service type lets you create a LoadDashboard 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 the Dashboard service type with selection components, such as combo boxes to set parameters to a default value or the last selected value.

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 file with LoadDashboard function type in a dashboard extender rule that has a yellow highlight line on lines 40-41.

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

Dashboard 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 populating default values inside labels:

Sample of an assembly file with default values with labels with a yellow box around attributes and dimensions.

The labels should be populated at runtime, so the assembly file is referenced in the following manner:

Assembly file referencing populating default values inside labels at runtime sample with a yellow rectangle highlighting box around the load dashboard server task and arguments.

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}.