The original version of this document is located at https://docs.qfield.org/how-to/advanced-how-tos/shared-datasets
QField allows you to store datasets in a central folder — referred to as a “shared datasets folder” — and access them across multiple projects.
Sharing layers across projects reduces storage usage for large datasets (such as background raster orthophotos or regional vector datasets) and simplifies dataset updates across devices.
You can share data across projects using two methods:
🖥️ Desktop preparation
When preparing projects in QGIS, you have to store your shared layers inside directory paths that are configured as “Localized Data Paths”.
Workflow

📱 Fieldwork
Transfer shared datasets manually to mobile devices by copying files into the local QField application folder.
Workflow
[App Directory]/QField/basemaps.
QFieldCloud streamlines shared dataset management across projects using QGIS localized data path settings.
Cloud projects reference shared datasets stored in a central QFieldCloud project named exactly shared_datasets.
The directory structure inside the shared_datasets cloud project mirrors the localized path structure on your desktop computer.
For example, if your QGIS Localized Data Path is ./GIS_Common/BaseData/ containing Administrative-boundaries.gpkg, the file appears as Administrative-boundaries.gpkg at the root of the shared_datasets cloud project.
Note
shared_datasets project.shared_datasets within an organization you have to create an empty cloud project named shared_datasets on QFieldCloud.🖥️ Desktop preparation
Workflow
🖥️ Desktop preparation
Upload shared datasets to QFieldCloud using the QFieldSync plugin after verifying that the shared_datasets project exists in QFieldCloud.
Workflow
shared data files selected for upload.shared_datasets project).
You can inspect the QFieldSync process log to confirm which shared dataset files were uploaded to QFieldCloud after the synchronization is completed.

Uploaded shared datasets display in two locations within the QFieldCloud web interface:
shared_datasets project.Workflow

:material-desktop: Project Manager
By default, when you give access rights to collaborators to edit the regular project, it does not automatically grant access to the datasets that are located inside the shared_datasets project.
You must specifically grant users access to the shared_datasets project so they can download shared files.
Workflow
shared_datasets project in the QFieldCloud web interface.Note
Collaborators who need to upload, update, or remove files in the shared_datasets project require the Manager or Admin role.
When a project references shared files that have not yet been uploaded to the shared_datasets project, QFieldCloud displays missing file warnings in red text inside the web interface.
To resolve missing shared files, confirm that the shared_datasets project exists on QFieldCloud and re-synchronize the project from QGIS using QFieldSync if they are not, making sure that you enable Upload missing localized dataset(s).
When opening a QGIS project that references shared files already uploaded to shared_datasets, QFieldSync detects the existing cloud files and hides the Upload missing localized dataset(s) checkbox.
📱 Fieldwork
Workflow

shared_datasets ProjectUsers with Manager or Admin permissions can synchronize files directly into the shared_datasets project without synchronizing dependent projects.
🖥️ Desktop preparation
Workflow
shared_datasets project from QFieldCloud to a local directory on your computer.shared_datasets project in QFieldSync to push changes to QFieldCloud.

Note
Collaborator permissions must be assigned explicitly on the shared_datasets project.
Admin roles on dependent projects do not grant administrative access to the shared_datasets project.
Automate dataset synchronization to the shared_datasets project using the qfieldcloud-cli command-line tool (included in the qfieldcloud-sdk Python package).
Workflow
Authenticate with QFieldCloud:
bash
qfieldcloud-cli login USER PASSWORD
export QFIELDCLOUD_TOKEN="YOUR_SECRET_TOKEN"
Retrieve the project ID for your shared_datasets project:
shared_datasets project:```bash
$ qfieldcloud-cli list-projects
Listing projects…
Projects the current user has access to:
| ID | OWNER/NAME | IS PUBLIC |
| 90e83606-dce8-4b0d-854a-388904d8a739 | USER/shared_datasets | 0 |
```
Note
Your project ID will be different
Upload local shared dataset directories to the shared_datasets project:
Upload the shared datasets from your local source directory to the shared_datasets project:
bash
qfieldcloud-cli upload-files 'YOUR_PROJECT_ID' "./path/to/your/local/shared/data/"
You can set up this command as a regular cronjob that runs periodically (e.g., daily), or trigger it manually based on other conditions, to keep your shared datasets on QFieldCloud up-to-date.