Hi Dojo Community,
We are setting up an enhanced service protocol to add some extra alarm parameters but also to show some general configuration parameters from the included service template.
The general configuration parameters will be retrieved with a slow timer (poll based) and not through subscriptions.
On the enhanced service protocol we have a list of the elements under the service but retrieving the necessary tables results in all rows being returned.
Would there be a way to retrieve the already filtered rows present in the service template from within the protocol?
This to avoid having to filter all the correct rows through the service template and then through the protocol code again.
Thanks in advance!
Robin,
As specified in the connector development user guide (Link), you can have access to all service parameters using the Engine methods.
A snippet of code would look like this:
Thank you,
Hi, retrieving a service template with the ‘protocol.GetDms().GetService()’ function results in different service params. The params only include the filter data and filter values but no actual service configuration like with retrieving a regular service.
For now we’re retrieving and filtering the tables in the enhanced service protocol to get to the same filtered data as seen on the service template.