data property

Top  Previous  Next

The data property returns a collection of fields (including both dynamic and user-defined in rules). A field property can be an array containing field properties. In such case, the inner fields are accessed by index instead of by name.

User-defined fields are created from the rules associated to a screen. For further details, please refer to hostSurfer.js Rules.

Fields dynamically retrieved by HostSurfer from the underlying Presentation Space are named under the convention RrnCcn, where rn and cn are the row and column coordinates of the field within the screen. For example, R20C55 is a dynamically created field located at row 20 and column 55 of the Presentation Space.

Any field object from the data property can be seamlessly accessed in code and kept synchronized with the underlying host screen.

 

Remarks

Read only property.