Sometime you are not for sure if your code is running on the AOS or on the client.
By adding below line in your code. AX will tell you where the code is running.
info(strfmt("%1",xGlobal::clientKind())); |
info(strfmt("%1",xGlobal::clientKind())); |