I am building a visual overview to be used with a service template and want to include a parametercontrol table, that has its rows filtered based on the service context. However when I include the table in the visual all rows are visible.
Can someone demonstrate the usage of the [servicedefinitionfilter] placeholder for this application?
Thanks
Update-
Below is the shape data I have set, when I do this no rows appear in the table control. When I replace [ServiceDefinitionFilter] with a specific value i.e. 11 - MCP1-203_ATS 01, that row does appear in the table control.
The protocol in question is the Generic Ping protocol.
The [ServiceDefinitionFilter] placeholder can be used where a table index is expected. This is then replaced by the filter that is specified in the service definition.
For filtering a (table) parameter control, the configuration should look as follows:
Element 10/120
ParameterControl 500
ParameterControlOptions TableRowFilter:501=[ServiceDefinitionFilter]
Where the parameter with ID 501 is the column that should match the filter.
After digging into this a bit further, we can confirm the [ServiceDefinitionFilter] is not correctly replaced in the ParameterControlOptions. For this an internal task has been created.
A workaround would be to store the filter in a property on the service. This property can then be used in the ParameterControlOptions as follows:
Element 10/120
ParameterControl 500
ParameterControlOptions TableRowFilter:501=[Property:MyRowFilter]
Options ForcePropertyFromPage
Is there a way to have the TableRowFilter:501=[Property:MyRowFilter] represent multiple rows? Filtered on the same parameter i.e. 501
Not using the TableRowFilter which is a filter applied on the server.
However you could use a client filter using ClientSideRowFilter which performs a post filter on the client.
ParameterControlOptions ClientSideRowFilter:MyParameterName:[Property:MyRowFilter]
Here the syntax uses the name of the parameter instead of the ID and any row that has a value for that parameter that contains the filter will be shown.
@Sebastiaan, can you tell me if this issue has been resolved in v10.1.3.0?
Thanks!
Thanks Sebastiaan, unfortunately that did not work. I’ll add some more info to the original question.