Call Server Connect in Custom Module

Hello @patrick ,

Can I call another server connect action in the custom sc module ? If possible, can you show how to use it with an example? (PHP)

Hi Serhat,

That sounds like exactly the use case for SC Libraries. I haven’t used libraries yet but I believe if the action you want to call is a library item you can indeed call it.

I hope I understand libraries correctly.

Hi brad,
What I want to do is actually use switch case in custom module and call the relevant server connect action depending on the situation.

Here you have it for node. I guess the concept is the same for php. Check the exec function for php in the core files.