use-global-context

Don't use Xrm.Page.context. For access to the global context use Xrm.Utility.getGlobalContext.

Recommendation

For more detail on appropriate replacement APIs, go to Client API deprecations.