I’m building a solution to use as a portal for my servoy users. The idea is quite simple: they open this solution, login using my dedicated login form and I show them the list of available solution based on groups privileges ( I want a gruop A to be able to open 3 solutions and a group B to open 2 different solutions). Setting up all the solutions on the server as modules of the portal solution should prevent the user from seeing the full solutions list.
All fine but now I have a doubt: when does Servoy loads the various modules and forms of a solution? Does it load everything on startup or on a “as needed” basis? I don’t want to load ALL the modules and ALL the forms at the portal startup.
So the question is: is it wise to have all the solutions on one server as modules of a main solution or would this approach slow things down?
Another question to the development team: would it be possible to have a function like:
// Closes the current solution and open the solution indicated
application.openSolution('solution_name')
Using a function like this I could simply write a portal solution and use it as a lauch pad for other solutions or even better for modules (hidden from the solutions list)
ngervasi:
I’m building a solution to use as a portal for my servoy users. The idea is quite simple: they open this solution, login using my dedicated login form and I show them the list of available solution based on groups privileges ( I want a gruop A to be able to open 3 solutions and a group B to open 2 different solutions). Setting up all the solutions on the server as modules of the portal solution should prevent the user from seeing the full solutions list.
All fine but now I have a doubt: when does Servoy loads the various modules and forms of a solution? Does it load everything on startup or on a “as needed” basis? I don’t want to load ALL the modules and ALL the forms at the portal startup.
Only developer loads the whole solution. Client will load forms ‘as needed’.
ngervasi:
So the question is: is it wise to have all the solutions on one server as modules of a main solution or would this approach slow things down?
Anyway a “openSolution(string)” function would be nice…
yes indeed.
filled in a request, long time ago. It would allow us also, to reset your solution, (in case you ar using tableFilterParam) without shutting down the complete client.