I am trying to develop an XML notification which includes the trigger time and an attribute/tag value.
In an email notification, it is easy to include attribute/tag values in the body of the message.
I have used the example code from the PI Notifications developers kit, compiled it against the correct .Net framework and registered it.
It works correctly for both the test function and for real notifications. It displays Notification Name, State, Priority, Trigger, Start and End Times, etc.
I now want to include tag/attribute values in the XML file. It was achieved in the example HERE but it doesn't show the source code.
When configuring the notification in PI System Explorer, I have checked the box to include the standard content, the trigger input and a number of attribute values.
However, I cannot get the attribute values to be displayed in the XML file. They don't seem to be part of the AFNotificationContentResults so I am looking to know how I access these attribute values.