Dashboard Service Type

This service type enables you to create a LoadDashboard function type in a dashboard extender rule within assemblies. You can do this by selecting this service type or by selecting 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 selected components, for example, combo boxes to set parameters to a default value or the last selected value.

Create the service factory assembly file and then the Dashboard Service. Then, uncomment the appropriate lines of code. The following example is the service factory assembly file in C# with the lines for the Dashboard service uncommented.

NOTE: The file name must match the name of the returned function in the service factory file.

Sample Service Factory file with LoadDashboard function type in a dashboard extender rule that has a yellow highlight line on lines 40-41.

Configure the Dashboard service with the following options:

  • In the File Name field, enter a name for the file, for example, WsasDashboard.

  • In the Source Code Type drop-down menu, select Dashboard Service.

  • In the Compiler Action drop-down menu, select (Use Default).

    NOTE: For the Compiler Action options, Disable ignores the file when the assembly is compiled. (Use Default) is the same as Compile.

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

The following example is 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.

To reference this object, use this syntax: {WS}{FunctionName}{Parameter1=Value1}

To use the assembly service on the maintenance level, use this syntax: {WSMU}{FunctionName}{Parameter1=Value1}