Custom Overlay Buttons - send GET or POST after a click

Is there a way to develop a plugin for SMART CLIENT using SDK with 3-4 overlay buttons, after clicking each button system will send specific info via GET/POST to server with PHP, so for example it can be:

http://localhost/api.php?button=1&camera=2&user=321

I’d like to use it for reporting and saving specific actions to local database.

Thank you!

Hi. Unfortunately there is no way to do it, however following SDK sample might help you.

[Active Elements Overlay]

https://doc.developer.milestonesys.com/html/index.html?base=samples/activeelementsoverlay_sample.html&tree=tree_search.html?search=active+elements+overlay

Thank you - reading docs now and there is no word about GET/POST on [Active Elements Overlay]. Please advise.

  1. Is there any other element I can use to call my external API: http://localhost/api.php?button=1&camera=2&user=321
  2. If not, is there a way to save some values to local text file/SQL database? I’m looking for a way to save an action in any possible way.

Thank you!

Hi. If my understanding is correctly this is not a SDK question, please check .NET documents or something and look for it.