Data Set Service Type
This service type enables you to create Data Set logic within assemblies. You can do this by selecting this service type or by selecting the Dashboard Data Set business rule type. These rules are usually queries and return data to data adapters and parameters using a method query.
Create the service factory assembly file and then the Data Set service. Then, uncomment the appropriate lines of code. The following example is the service factory assembly file in C# with the lines for the Data Set service uncommented.
NOTE: The file name must match the name of the returned function in the service factory file.
Configure the Data Set service with the following options:
-
In the File Name field, enter a name for the file, for example, WsasDataSet.
-
In the Source Code Type drop-down menu, select Data Set 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 creates a grid of potential values you might see based on a selection. The assembly file activates when you select an icon.
This runs through a method query data adapter that populates the grid component.
To reference this object, use this syntax: {WS}{DataSet}{Parameter1=Value1}
To use the assembly service on the maintenance level, use this syntax: {WSMU}{DataSet}{Parameter1=Value1}