Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Model Driven MES 7​.0

Data

  • Last UpdatedOct 10, 2025
  • 1 minute read

On initial load, the Split widget uses the data property to enable the onInitialize event and set the startDateTime, endDateTime, and initialEventColor properties. This is also used to control the initial split date and time through the initialSplitDateTime property. The value programmed for the initialSplitDateTime property is reflected in the default position of the slider control and the displayed value in the Date/Time input box.

The initialSplitDateTime property is an optional property. If not in use, the slider appears in the middle of the split bar or in a time rounded to the closest split increment from the initial split time point.

Supported script data properties

var myData =

{

startDateTime : new Date(2022,4,11,8,0,0),

endDateTime : new Date(2022,4,13,8,0,0),

initialSplitDateTime : new Date(2022,4,12,8,0,0),

initialEventColor :"green"

}

control.findByXmlNode("Widget1").widgetProperties.data = JSON.stringify(myData);

The startDateTime and endDateTime properties are mandatory. These two properties, as well as the initialSplitDateTime property, expect a return value in Universal Time Coordinated (UTC) format.

Example

startDateTime : "2022-01-22T04:00:00.000Z",

endDateTime : "2022-01-22T06:00:00.000Z",

initialSplitDateTime : "2022-01-22T05:00:00.000Z"

TitleResults for “How to create a CRG?”Also Available in