It's possible to control Overrides through the SDK as well. Be careful that you cleanup afterwards and end the Override properly. You should usually only do this on Overlays instead of within the HTML App since if the app is destroyed by going to a new page you may not have had a chance to end the Override.

window.onloadTelemetryTV = function (ttv) {
  ttv.startOverride('foo');
  
  //... some time later (e.g. called by a setTimeout)
  ttv.endOverride('foo');
};

Function

Description

Returns

startOverride(name)

Starts an Override designated by the name (string)

null

endOverride(name)

Stops an Override designated by the name (string)

null