Configuring external temporary storage options for attachments in offline mode
Take advantage of your external storage solutions, such as Amazon S3 or Microsoft Azure, by using these solutions to store temporary files that are sent from your offline-enabled mobile app.
By default, Pega Platform stores all attachments that the mobile device sends to the server in the local data storage.
The default configuration uses the storage/class/uploads:/type dynamic system setting with the value of datastore. You can change the default configuration to use an external storage service as a temporary storage with a set of dynamic system settings.
- In the navigation pane of Dev Studio, click Records.
- Expand the SysAdmin category, and then click Dynamic System Settings.
- Open and configure the dynamic system settings that are required to use an external
temporary storage service.
Dynamic system setting (short description) Owning ruleset Value storage/class/uploads:/type Pega-ProcessCommander - For Amazon S3: aws-s3
- For Microsoft Azure: azureblob
storage/class/uploads:/bucket Pega-ProcessCommander Amazon S3 bucket or Microsoft Azure container location where the files are stored. storage/class/uploads:/accesskeyid Pega-ProcessCommander Amazon S3 access key or Microsoft Azure user name. storage/class/uploads:/secretaccesskey Pega-ProcessCommander Amazon S3 or Microsoft Azure password. storage/class/uploads:/rootpath Pega-ProcessCommander Amazon S3 or Microsoft Azure root path for the repository. - For each dynamic system setting that you modify, in the upper-right corner of the rule form, click Save.
Previous topic Disabling server-side postprocessing in offline cases Next topic Adjusting the usability of offline-enabled mobile apps