Using the AlarmTemplateHelper class, is it possible to retrieve all rows from an existing alarm template, so without specifying any specific row IDs?
Thanks.
Hi Ruben,
It seems that it is unfortunately not possible to easily get all rows from an alarm template using that helper.
If that functionality would be required, you could use the 'GetAlarmTemplateMessage' SLNet message. This is the same message that is used by this helper to get the alarm template information. When sending that one with the 'Protocol', 'Version' and 'Template' (name) properties filled in (AsOneObject should also be set to true), you should receive an 'AlarmTemplateEventMessage' as a response. This will contain all alarm template information, but note that this is not in the same structure as is returned by the helper (AlarmTemplateRow).
"Note that this is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation or through our web API."