programatically load valuelist on repository

Hi, I have a question regarding the migration from FMP and value list. I wonder if it is posible to load valuelist into the repository via servoy’s j2db API, so we won’t need to create every valuelist manually…

I know that I could create a db model storing valuelist data, but however I’d need to create the list onto my solution, isn`t it?

Thanks

So, you are talking about saving time while converting?

I would say: don’t do it that way. Use the tools in a way they are meant to be used and you will be sooooo much happier once your solution(s) grow(s).

Just my 2 cents.

BTW you can store valuelist values in a dataprovider obviously but you would still have to create a valuelist based on those values…

Thanks Marcel!

I know that using the tool the way it’s ment to work is easier and probably less risky, but since we have to migrate about 250 valuelists I thought that maybe we could save at least the work of creating the empty valuelists in the repository via Servoy API.

However it’s just a one-time work so maybe is not such a big deal…