Is there any example of alertConnect() call and its callback function?
I need make some changes on alert came and went/acknowledged.
Thank in advance.
Vedad
alertConnect() - example?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: alertConnect() - example?
Hello,
if you want to react on changes of _alert_hdl-attributes you have to use the function dpQueryConnectSingle() or dpQueryConnectAll().
At the query statement you can filter for only those dp-elements/alerts and attributes which shall be taken into account. An alertConnect() always makes a connect to all alerts and therefore it is recommended not to use this function.
For details concerning the query functions please have a look at the online help.
Best Regards
Leopold Knipp
Senior Support Specialist
if you want to react on changes of _alert_hdl-attributes you have to use the function dpQueryConnectSingle() or dpQueryConnectAll().
At the query statement you can filter for only those dp-elements/alerts and attributes which shall be taken into account. An alertConnect() always makes a connect to all alerts and therefore it is recommended not to use this function.
For details concerning the query functions please have a look at the online help.
Best Regards
Leopold Knipp
Senior Support Specialist
- vedadramovic
- Posts:121
- Joined: Mon Apr 07, 2014 10:36 am
Re: alertConnect() - example?
Thank you Leopold very much.