MxClient this._contextObj undefined

Hello,  Does anyone know why in a html/javascript snippet when I am doing that : this._contextObj, it’s returning me undefined.  But inside of a javascript button (widget from the app store), this._contextObj is returning me the correct value?  I tried to put : this._contextObj inside a set time out but it did not worked either.  Thanks
0 answers