@glamprecht said in Opening image based on datapoint value under watch list:
I can now see how to get the point value. Likewise I can get the dataSourceXid like this:
(designer.points | filter:{name:'Camera_name'}:true | maFirst).dataSourceXid)Instead of using the value as in the past, I would now like to get the last digits of the IP address of the dataSourceXid (being an SNMP datasource)
I can see how to access the datapoint through designer.points ,but I cannot figure out how to access the datasource and its address?
You would have to retrieve the data source by its XID for each data point, there's not an easy way of doing this. I would recommend using the bulk data point editor to set a tag on each of your datapoints and use this tag instead.