-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.Application
rescocrm edited this page Dec 12, 2022
·
4 revisions
Encapsulates the application-related functionality.
Property | Type | Description |
---|
Function | Description |
---|---|
checkUserRoles | Checks whether the current user is member of the passed roles. Role can be either the Guid (aeb33d0f-89b4-e111-9c9a-00155d0b710a) or the role Name. |
createDirectory | Asynchronously creates the directory in the application local data. |
createDirectoryAsync | Asynchronously creates the directory in the application local data. |
deleteDirectory | Asynchronously deletes the empty directory from the application local data. |
deleteDirectoryAsync | Asynchronously deletes the empty directory from the application local data. |
deleteFile | Asynchronously deletes the file from the application local data. |
deleteFileAsync | Asynchronously deletes the file from the application local data. |
directoryExists | Checks whether the directory with given path exists in the application local data. |
directoryExistsAsync | Checks whether the directory with given path exists in the application local data. |
fileExists | Checks whether the file with given path exists in application local data. |
fileExistsAsync | Checks whether the file with given path exists in application local data. |
getAccessToken | |
getAppColor | Gets the customized color by its name. |
getAppImage | Gets the colorized application image. It is taken either from customization package or from application bundle. |
getDirectories | Asynchronously gets the list of directories from the application local data. |
getDirectoriesAsync | Asynchronously gets the list of directories from the application local data. |
getFiles | Asynchronously gets the list of files from the application local data. |
getFilesAsync | Asynchronously gets the list of files from the application local data. |
getLastSignificantTimeChange | [v13.3.1] Gets the last detected time change. |
moveFile | Asynchronously moves the application local file to another location. |
moveFileAsync | Asynchronously moves the application local file to another location. |
readFile | Reads the file from the application local data and asynchronously gets its content. |
readFileAsBase64 | Reads the file from the application local data and asynchronously gets its base64-encoded content. |
readFileAsync | [v15.3] Reads the file from the application local data and asynchronously gets its content. |
setAppColors | [v11.2] Sets the application colors. |
showAppLogin | Causes that the password is forgotten and user is required to type it again to make the app running. |
synchronize | Starts background/foreground sync if not synchronized or the last sync was before desired limit. |
synchronizeOnForeground | [v8.1] Starts the synchronization on foreground (closes all form if possible and showing the standard progress). |
writeFile | Asynchronously writes the text into the file from the application local data. |
writeFileAsync | [v15.3] Asynchronously writes data into the file from the application local data. |
writeFileFromBase64 | Asynchronously writes the base64-encoded data into the application local storage file. |
writeFileWithEncoding | [v9.0.2] Asynchronously writes the text into the file from the application local data. |