How to create a push event in EasyBadge

Modified on Tue, 31 Mar 2020 at 10:22 AM

You can send data back to a database server via an external connection. 

 

The usual flow of data is from a data source into EasyBadge. The external connection is setup and a query is attached to it - this usually takes the form of a SQL SELECT or stored procedure.

 

To send data back to the server you create another query which contains the required SQL: an update, insert or again a stored procedure. On the edit query dialog there is a tab named 'Push Events'.  EasyBadge will run this query if any of the ticked events are done - the data is pushed into the remote connection. For example, if you wanted to store the Mifare UID when a card is printed then you might have a query something like:

 

EXEC SendMifare '{student id}', '{card id}'

 

Where 'student id' and 'card id' are fields in EasyBadge. With the 'Print' push event ticked this query will be run each time a card is printed.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article