SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello,
I want to trigger the start of a processor outside of the SmartConnector portal.
What I need to do is to provide a front-end for my extension that I developed and I also have an SQLite DB which I need to be able to perform CRUD operations to.
Instead of having to develop an API for this, I was thinking of using Blazor for the front-end and reference the extension assembly in that project. My question here is that would it be enough if I provide a public method in my extension that invokes Execute_Subclass() or do I need to do more than that?
I need a ManagedCspClient but that is taken care of in the Execute_SubClass() method.
Do you think this would be possible or is there anything I am missing for this to work?
BR, Karim
Link copied. Please paste this link to share this article on your social media post.
Hi Karim,
Sounds like you are doing some pretty cool stuff with Smart Connector!
Unfortunately, I don't think this will be as simple as calling the Execute_Subclass method from a public method of the referenced DLL, as there is a lot that the Smart Connector service does behind the scenes to make sure everything is loaded as expected (e.g. the cache, managed clients etc..) So I would suspect that even if you managed to call your Execute_Subclass method outside of the service runtime, a lot would just fail to work.
If you just want to execute an existing processor that can be done via the IActionBroker interface that a Processor class implements. There is an example of this in section 9.9 in the Developers guide of Smart Connector.
I will reach to you to discuss this in more detail.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hello,
Thank you! I am working on doing something similar to Azure Logic Apps if you know of it but for EBO and SmartConnector. So I store some settings for the custom business logic and trigger etc. in the SQLite db that should be able to be modified from the fron-end and also be able to trigger some Csp operations from there if needed.
All right, I'm sure we can figure something out, let's get back to each other.
Happy easter holidays!
Br
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.