MobileCRM.MobileReport.GenerateReportRequest - Resconet/JSBridge GitHub Wiki
[v18.0] The request class specifying behavior of MobileCRM.MobileReport.generateReportAsync function.
Arguments
Argument | Type | Description |
---|---|---|
source | **String | MobileCRM.Reference** |
template | **String | MobileCRM.Reference** |
format | String | Optional code of report format. Supported values are: Pdf (default), Html, Excel, Word. |
customNameOrPath | String | Optional custom name of report file or its full path. If not provided, default report name and path are used. When using full path, it is recommended to place it in MobileCRM.Configuration.storageDirectory. |
languageCode | String | Optional iso code (e.g. "en-US") of report language. Currently it only works for reports on localized Questionnaires. |
waitMessage | String | Optional custom message displayed to user while report is being generated. When null or empty string is provided, default message is shown. When undefined, shows no wait message. |
isOnline | Boolean | Optionally specifies if report should be created in Online, or Offline mode. If undefined, the mode in which app is currently running is used. |
attachTo | MobileCRM.Reference | A MobileCRM.Reference to parent record. If provided, method will generate new attachment record and link it to the parent record. |
attachmentEntity | String | When attachmentRecord is provided, optionally specifies the type of attachment entity. If not specified, the default attachment entity is created. |