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.
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.
The following example is an assembly file that is populating default values inside labels:
The labels should be populated at runtime, so the assembly file is referenced in the following manner:
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}