modules.allnames

I need to know which modules/solutions are currently connected.
A function like:```
var vAllModulesArray = modules.allnames

Not possible since modules are just a designtime concept, so this function could not work in the client.

Paul

I actually needed that function as well. Would it be possible to add extra functionallity to modules / clients, to make this possible? I know that Karels development is heavely module based. I would use this function to run certain initialisation code based on the presence of a module. A module-init function would probably also be a solution.

Has any of you allready registered this as feature request in our Support System?

Paul

In the ugly workaround department: there is forms.allnames. Using that, and checking for names of forms from the various modules, possibly based on a naming convention would give you the information you need. However: I still second Karels request because of the clumsiness of this approach. If you have forms.allnames and databaseManager.getTableNames, there should be application.getAllModules.

I will register it.

Thank you gjaaaf for supporting this request. :)

gjaaaf:
In the ugly workaround department: there is forms.allnames. Using that, and checking for names of forms from the various modules, possibly based on a naming convention would give you the information you need.

That’s the way we kinda do this now too, but it is indeed not a tight waterproof solution.

Next to this we need to be able to display/know the real current connected modules names on each server or multideveloepr instance. That way we’re able to prevent certain actions to run when certain modules are not connected.