vendredi 7 octobre 2016

How to intercept if my code is running on Web Warehouse Mobile Devices Portal?

It's possible in class WHS... understand if they were launched from Web - Warehouse Mobile Devices Portal or client AX?

Because do we need to condition a custom flow.

I tried to use :

if ( xGlobal::clientKind() )
{
 // my code Client Side 
 // can call class look like WinApi
}

else if ( ! xGlobal::clientKind() )
{
 // my code Server side 
 // I have to use class look like WinApiServer
}

But this possible solution not work well, I continues to enter in the client side.

I need to intercept if I'm running from web.

Thank in advice!




Aucun commentaire:

Enregistrer un commentaire