I was able to successfully create element using (SLNET --> AddElementMessage) but now I need guidance on how to configure an alarm template while creating the elements.
I can see that AddElementMessage has a variable named "AlarmTemplate" of type String. But I need to know the format in which I need to pass the alarmtemplate data.
Hi Ramesh,
You can just add a the name of the alarm template as string in the AlarmTemplate property of the AddElementMessage.
addElementMessage.AlarmTemplate = "nameofthealarmtemplate";
Regards,
Moderator note: 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.