The Rookie Rides Again - Where am I (mode?)

Hi all,

Is there a way to tell whether a solution is currently running in Runtime mode (if “mode” is the correct term here), or something else? I have a bit of logic that I’d like to run only if I’m in a Runtime version of my application.

Thanks, as always.

Ron

I think this is what you are looking for:

application.isInDeveloper()

if (application.getApplicationType() == APPLICATION_TYPES.RUNTIME_CLIENT)
{
//we are in runtime_client
}

for more info:
https://wiki.servoy.com:8443/display/pu … TION_TYPES

Hi,

Thanks for that helpful information. Appreciate it. I’ll look into that further.

Ron