Combine multiple plugins

Hi, I’ve been looking at the MIP plugins from here

https://github.com/milestonesys/mipsdk-samples-plugin/tree/main

And the examples look good.

My question is - is there a way or tutorial on how I can combine or merge 2 or more of the plugins? I need to create one plugin out of 2 of them.

Is it possible?

I would recommend that you start differently. That you start a new plugin by using the plugin template. That you familiarize yourself with the skeleton classes, then perhaps move functionality from the samples into your own plugin that was started by using the template.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/vsextension.html&tree=tree_search.html?search=template

There was a tutorial but unfortunately it has now been retracted as it was getting too old an unmaintained. I hope the above will give you a good staring point so that you get a good start.

A recommendation is to also read this.. https://developer.milestonesys.com/s/article/debugging-techniques-for-Smart-Client-plugins

Thanks a lot for the quick response.

Because I don’t have much experience in building a C# project I thought that starting from a sample project would be the right option for me.

My plugin is not supposed to be too complicated.

It needs to get information from the user (token, area of camera, and task number for each camera), and whenever a motion detection (or other event) happens on that camera it sends HTTP post request using the info.

I will try to use the template but if I don’t, what do you think is the best sample to start with?

Thank you.

Please note that you can also do standalone, what you describe does not sound like you need to have the Smart Client. I mention it as you should not focus on plugin if the users would be better off by having a small utility app instead of something embedded in the Smart Client..

User input to initiate something would probably be best done in the left hand panel (SidePanelWpfUserControl), a sample using this is the Smart Client AVI Sequence Export

plugin sample https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/scavisequenceexport/readme.html&tree=tree_1.html

To listen for motion detection I would actually as a first step point to a standalone sample named Alarm and Event Viewer https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/alarmeventviewer/readme.html&tree=tree_2.html

Thanks a lot! You’re very helpful.

I tried the template and it is a very good start!

I saw there is an option to get a webview, which by default shows google.com.

When I try to change it to my own website (which is HTTPS) I get a white screen and nothing there works. Do you how can I change it to support HTTPS as well?

The Smart Client’s built-in HTML Page is an older IE emulator.

I am hoping these might be relevant and you can solve the issue with your page ..

https://supportcommunity.milestonesys.com/KBRedir?art=000035209&lang=en_US

https://supportcommunity.milestonesys.com/KBRedir?art=000033852&lang=en_US

Hi, I just realized that the problem is not HTTPS is that my website is not supported in explorer, is there a way to run this plugin in chrome?

The built-in HTML Page is technically not a plugin. If you see the knowledge base articles I mentioned I believe they mention that it is possible to develop a plugin that is a browser object..