-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Platform
rescocrm edited this page Oct 6, 2025
·
5 revisions
Represents object for querying platform specific information and executing platform integrated actions.
| Property | Type | Description |
|---|---|---|
| capabilities | Number | Gets the mask of capability flags supported by this device (MakePhoneCalls=1; HasMapView=2). |
| deviceIdentifier | String | Gets the unique identifier of this device. |
| screenWidth | Number | Gets the current screen width in pixels. |
| screenHeight | Number | Gets the current screen width in pixels. |
| screenDensity | Number | Gets the screen density (DPI). |
| isMultiPanel | Boolean | Gets whether the device has tablet or phone UI. |
| customImagePath | String | Gets or sets the custom image path that comes from customization. |
| Function | Description |
|---|---|
| [v8.1] Opens the platform-specific e-mail message form with pre-filled data. | |
| emailWithAttachments | [v9.1] Sends a list of files (full paths or IReferences to blobs) as email attachments. |
| getDeviceInfo | Gets the device information. |
| getLocation | Gets current geo-location from platform-specific location service. |
| getLocationAsync | Gets current geo-location from platform-specific location service. |
| getNetworkInfo | [v11.2] Gets network information. |
| getURL | Gets the full URL of currently loaded HTML document. |
| makeCall | [v8.0] Opens the platform-specific call application with specified phone number. |
| navigateTo | Execute the navigateTo function based on the latitude and longitude. |
| openDocument | [v8.1] Opens specified document in associated program. |
| openUrl | Open url in external browser. |
| preventBackButton | Prevents application to close when HW back button is pressed and installs handler which is called instead. |
| requestObject | Requests the managed Platform object. |
| scanBarCode | Activates the bar-code scanning. |
| scanBarCodeRequiredLength | Activates the bar-code scanning. |
| sendEmail | [v15.0] Opens the platform-specific e-mail message form with pre-filled data. |
| sendSMS | [v11.2.3] Opens the platform-specific sms application with specified phone number and pre-fill text. |
| watchLocationUpdates | [v18.2] Registers or unregisters a handler for location updates. |