Files device policy

You can add script files to Endpoint Management that perform certain functions for users, or you can add document files that you want Android users to access on their devices. When you add the file, you can also specify the directory in which you want the file to be stored on the device. For example, if you want Android users to receive a company document or .pdf file, you can deploy the file to the device and let users know where the file is located.

You can add the following file types with this policy:

  • Text-based files (.xml, .html, .py, and so on)
  • Other files, such as documents, pictures, spreadsheets, or presentations

To add or configure this policy, go to Configure > Device Policies. For more information, see Device policies.

Android Enterprise settings

Files device policy for Android Enterprise

  • File to be imported: To select the file to import, click Browse and navigate to the file location.
  • File type: Select either File or Script. When you select Script, Execute immediately appears. Select whether to run the script as soon as the file uploads. The Execute immediately default is Off.
  • Replace macro expressions: Select whether to replace macro token names in a script with a device or user property. For macro syntax, see Macros. The default is Off.
  • Destination folder: In the list, select the location in which to store the uploaded file or click Add new to choose an unlisted file location. You can use the macros %XenMobile Folder%\ or %Flash Storage%\ as the start of any path identifier.
  • Destination file name: Optional. If you must change a file name before deploying it to a device, type the file name.
  • If file exists: In the list, select whether to copy an existing file. The default is Copy file only if different.

Android settings

  • File to be imported: To select the file to import, click Browse and navigate to the file location.
  • File type: Select either File or Script. When you select Script, Execute immediately appears. Select whether to run the script as soon as the file uploads. The Execute immediately default is Off.
  • Replace macro expressions: Select whether to replace macro token names in a script with a device or user property. For macro syntax, see Macros. The default is Off.
  • Destination folder: In the list, select the location in which to store the uploaded file or click Add new to choose an unlisted file location. You can use the macros %XenMobile Folder%\ or %Flash Storage%\ as the start of any path identifier.
  • Destination file name: Optional. If you must change a file name before deploying it to a device, type the file name.
  • If file exists: In the list, select whether to copy an existing file. The default is Copy file only if different.

Files device policy