I am sure there will be some helper method/class to confirm whether the current request originated from Enterprise Portal or from Client in AX2012R2. I just cant find it. Can you please point me to it?
Thanks
I am sure there will be some helper method/class to confirm whether the current request originated from Enterprise Portal or from Client in AX2012R2. I just cant find it. Can you please point me to it?
Thanks
Look in \Classes\TradeWorkflow
The method: activatingFromWeb
will tell you if it is being triggered from EP.
Hope this helps.
You could check if Global::webSession()
returns a valid object:
if (webSession())
{
// Do some web-specific stuff
}