Tuesday, 16 February 2010

AX - Find if running client or server side

To find if you are running client or server side.
if (isRunningOnServer())
{
  info('Server side');
}
else
{
  info('Client side');
}

No comments: