Mobile Data StudioObject Model › Application

The Application class represents the running instance of Mobile Data Studio.

Most other objects include a property named Application that provides a reference back to this root object. It is also available implicitly in the Data Script environment.

Properties

Application

Returns itself, of type Application.

Devices

Returns a DeviceCollection, detailing the mobile devices currently connected to the Mobile Data Studio server.

Path

Returns the install path of the MDS application as a String.

Projects

Returns a ProjectCollection, the collection of Project objects that are currently open in the application.

Users

Returns a Users object, providing access to the User Database.

Version

Returns the application version number as a String, for example 10.0.0.0.

Methods

MsgBox

Displays a popup message box. This will block execution of the script until the message box is closed.

Takes one parameter:

  • message - a String to display in the message box.

Print

Prints the provided String to the Wireless Server Activity Log window.

Takes one parameter:

  • message - a String to print to the Wireless Server Activity Log window.