Main page of the Anywhere API Reference
id
The view ID as defined in app.xml file.
Examples
var viewId = eventContext.ui.getCurrentViewControl().id;
if(viewId == 'WorkExecution.AssetMeterDetailView' ||
viewId == 'WorkExecution.LocationMeterDetailView') {
...
}
application
Reference to the Application object.
ui
Reference to the UserInterface object.
parentControl
Reference to the parent view/control.
refresh()
Forces a refresh of the view.
Examples
eventContext.ui.getCurrentViewControl().refresh();