Generate UUID within component server-side JS file

Hi,

I need to be able to generate a UUID within an NG client server-side component JS file (component_server.js). I have tried using application.getUUID() but the server-side JS has no access to the application object. Does anyone know how this may be done?

Thanks
Steve

After a lot of searching in the Servoy GitHub repository I found that it can be done using:

java.util.UUID.randomUUID()

This replaces the application.getUUID() call.