Attachments properties

The app-feature.properties file contains the property that enables attachments. The download and upload of attachments, the maximum size, and the location of attachments are controlled by properties in the worklight.properties file. You can also enable attachments by using the Anywhere Administration application if it is enabled.

To enable attachments, edit the app-feature.properties file in the Anywhere\MaximoAnywhere\apps\app_name folder to set the attachments.enabled property to true. Attachments are enabled by default for apps that support attachments.

To change the value of an attachment property, edit the worklight.properties file in the maximoanywhere_home\Anywhere\MaximoAnywhere\server\conf directory.

Property Description Default value
si.device.downloadAttachments WithBulkDownload When the condition is true, attachments on work orders are downloaded with a work list. App users can override the default value of this property by clearing the Download attachments with work list check box on the Settings view in the Maximo® Anywhere Work Execution app. true
si.device.onlyBulkDownloadPrint WithReportAttachments By default, attachments that can be printed are downloaded with a work list. You can override the default by going to Maximo Asset Management and clearing the check box in the Print attached document with report if printable type option in the Attachment Properties window. Attachments can still be downloaded manually. true
si.att.proxy.maxfilesize Controls the maximum size of an attachment that can be downloaded with a work list. You can change the default to a higher or to a lower number. 5242880 (5 MB)
si.attach.uploadmaxsize Controls the maximum size of an attachment that can be uploaded with a work record. You can change the default to a higher or to a lower number. If you use Maximo Asset Management as a backend server, ensure that the attachment document property mxe.doclink.maxfilesize setting is equal to or greater than the setting for si.attach.uploadmaxsize. 10 MB
si.attachment.basedirectory Controls the location of the base directory for attachments. If a mobile device is shared, attachments are added to multiple user directories, with one directory per user. All of the user directories are located under the base directory. To free up the space that is taken up by attachments, delete the attachments within the user directories or delete the default directory. anywhere

Table 1. Descriptions of the attachment properties.