Greetings all,
I've been lurking here for a few weeks trying to find an answer to a question, so apologies if I've overlooked it.
I'm trying to figure out how to add custom properties to the active alerts details page that comes up when you click an alert. I thought it would be a relatively simple thing to make visible, but almost 3 weeks later, after baking my brain digging through the finer details of custom querys, SWIS, and SWQL/SQL (which I've been avoiding my whole career because it kind of terrifies me), I've been unable to determine what variable to use in a query to represent the relative value for the NodeID that triggered the alert, or if I'm going about this all wrong.
Here's where I'm stuck at.
SELECT
N.NodeID AS NodeID,
N.CustomProperties.Device_Type,
N.Caption,
N.CustomProperties.Owner,
N.CustomProperties.Phone_Number,
N.CustomProperties.Site_Location
FROM
Orion.Nodes N
WHERE
NodeID = ${N=SwisEntity;M=NodeID}
When I substitute
${N=SwisEntity;M=NodeID}
with a hard-coded NodeID, it spits out exactly what I'm looking for.
Any assistance anyone can offer would be much appreciated.