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.

ttv Override Functions

Function

Description

Returns

ttv.startOverride(name)

Starts an Override designated by the name (string)

null

ttv.endOverride(name)

Stops an Override designated by the name (string)

null

Code Samples

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