Issues with Generating Exports

The Automated Export and MIP SDK documentation provided does not address a question of mine. The ‘investigation export’ method in the JS SDK creates an exported file per camera. The only method I know to download these files is 'createExportDownloadLink’, which requires the specific export id. This means we can only export files individually by camera.

However, the Milestone Web App allows for investigation exports to be downloaded together as a single zip file. Guidance please be provided on how to achieve this through the SDK and/or where the relevant documentation might be found?

Hi, Michael,

You can find all documentation for XPMobileSDK here: https://doc.developer.milestonesys.com/mipsdkmobile/reference/WebSDKdoc/global.html

For download investigation export you need firstly to generate Export ID with this request startInvestigationExport

https://doc.developer.milestonesys.com/mipsdkmobile/reference/WebSDKdoc/global.html#startInvestigationExport

Then you will receive the export ID

after that, you can call createExportDownloadLink https://doc.developer.milestonesys.com/mipsdkmobile/reference/WebSDKdoc/global.html#createExportDownloadLink

Best regards

Asen Bozhilov

Does the SDK allow for multiple exports?

I am not sure what you mean by multiple exports. You can export investigation with many cameras but inside the zip file, you will have recordings separated by the camera not one view with all cameras.