File System

Working with non-structured data

Dynamics Mobile Apps can store and read files. The files are meant to be used to store unstructured data.

Dynamics Mobile SDK provides a class called FileService, which allows the developer to work with files in a transparent way.

The FileService allows the developer to :

  • create/write new files

  • read the content of files

  • delete existing files

  • check if specific filename exists

  • organize the files in folders

While the FileService API is the same for both mobile and backend apps, there is a slight difference in the behaviour between the two:

Feature

Backend App

Mobile App

Storage Type

Cloud storage

Local device file system

Access by other apps

Yes

No

Access by external apps/systems

No

No

Access from other app users

Yes

No

Access from other app areas

No

No

Deleted after app uninstall

No

Yes

Max file size

6Mb

500Kb

File Storage Size Quota

50MB

limited by the device storage size