Valuelists in Modules

Hey Guys, I apologize if this has already been addressed, but I’m stuck and will ask for input anyways. I’m converting a solution, that contains modules, from 3.5.10 to 5.2.4 and hitting warnings regarding valuelists in my modules. I get a number of - Property valuelistID in form coll_lst_acctassign is linked to an entity that doesn’t exist." This valuelist exists in the main solution, but not the module. All worked fine in 3.5, but when I got to resolve the issue, I only see valuelists that were created in the module in question, no valuelists from the main solution.

So, my question is, what’d I do wrong and how do I fix it?

Thanks,
Adam

Adam,

A solution can have dependencies on modules, and a modules can have dependencies on its modules, but not the other way around.
A module should not ‘know’ in which solution it is used.

So when you want to assign a valuelist defined in the main solution to an element in a module, it cannot be found.

In 3.5 this distinction was not made, Servoy 5 helps a lot more in managing module dependencies and reusable modules.

Note that at runtime, all modules and the main solution are merged together in one big solution, so the solution will still work on the appserver, also in v5.

Rob