import solution programmatically

Hi!

Servoy experts, I need your advice. Can anyone help me on what “internal” processes are involved when the user “imports” a solution in the server admin? Is there any available method in the maintenance plugin to achieve this?

Thanks and Regards.

Hi Rogel,

As far as I know there is no (public) API available for importing solutions other than doing a POST to the servoy-admin page.

You can create a solution to do this. Have a look at viewtopic.php?f=3&t=7262#_thread
I haven’t tested this in more recent versions of servoy.

antonio:
You can create a solution to do this. Have a look at http://forum.servoy.com/viewtopic.php?f … 62#_thread
I haven’t tested this in more recent versions of servoy.

Thanks for the suggestion antonio. But creating a SOLUTIONIMPORT solution which imports a solution would require a user to actually import SOLUTIONIMPORT in servoy-admin. I think this is ok during an application update but for now I am doing an application installer.
Any idea would be highly appreciated.
Thanks!