Advanced Setup Guide¶
Supported Vector Providers¶
Currently, QFieldCloud supports GeoPackage and PostGIS layers for collaborative editing. Other formats supported by QGIS should also work but are not officially supported.
Synchronization Process¶
When working with QFieldCloud, it is important to understand the synchronization process to avoid data loss or overwriting files and deltas. You can find technical details on the different job types in the technical documentation section. In simple words, three different synchronization activities exist:
- From QGIS to QFieldCloud: Uploads a complete new project package and replaces the existing package stored in the cloud. When working with GeoPackages, the existing GeoPackage in the cloud is replaced with the newly uploaded file.
- From QFieldCloud to QField: Downloads the uploaded project package to your mobile device. QFieldCloud packages the project into a specific format saved in the internal application folder structure. When working with PostgreSQL databases in offline editing mode, a local GeoPackage is created in the corresponding folder (ensure your secret is configured properly).
- From QField to QFieldCloud: Applies changes as deltas after completing data collection. Deltas reflect only the attribute and geometry changes made in the field. When uploading or synchronizing with QFieldCloud, only the deltas are applied, so the entire GeoPackage is not replaced.

Tip
We recommend following these guidelines to avoid synchronization issues or overwritten data:
- Do not modify the QGIS project while personnel work simultaneously in QField. If you synchronize your desktop version to the cloud, QFieldCloud will overwrite the files. If you must work in parallel on your desktop, check the QFieldCloud status and download the most recent data before uploading new file versions from desktop.
- Do not change the data structure before synchronizing the latest field edits. Adapting the data structure in QGIS before pushing field edits leads to errors if changes from QField have not yet been uploaded.
- Use UUIDs as primary keys, especially when working with relations and in teams. Synchronization issues often occur due to missing primary keys in datasets. Without explicit primary keys, simultaneous editing can cause data loss.
Working Modes¶
When configuring a project for QField, choose between different packaging options:
- Offline editing: Regardless of whether files are stored in a GeoPackage, database, or other formats, QFieldCloud creates a temporary GeoPackage of all project data. Changes made to this GeoPackage remain local until synchronized. Once changes are uploaded or synchronized back to QFieldCloud, only the modifications are applied to the existing cloud file. We recommend this option to prevent data loss during connection drops.
- Direct Data Access: Edits data directly in the PostGIS database. This option requires a reliable internet connection in the field. It allows all users to immediately view data changes and use PostGIS-specific configurations (such as triggers and generated fields).
In general, changes become visible to other users once synchronization via QFieldCloud occurs across devices. If you are working in Offline Editing mode a local copy is created, advanced PostGIS operations (such as triggers) will not be available in QField.
Find more information in the QFieldCloud technical reference.
Lavorare con i GeoPackages¶
Using GeoPackages is usually the best choice for a simple setup to centralize data collected by your QField users into a single file.
If you set up a relation, add a UUID field and use it as the primary or foreign key.
Do not use the default fid field for relations as a primary or foreign key.
The fid field can be modified during synchronization with QFieldCloud and lead to errors over time.
A UUID is unique and will not cause conflicts during synchronization.
Workflow
Desktop preparation
- Create a new project in QGIS.
- Create GeoPackage layers and save them in the same folder as your QGIS project.
- Set the GeoPackage to Offline editing in the QFieldSync plugin settings by navigating to Project > Properties > QField

- Upload the project to QFieldCloud.
Fieldwork
- Sign in to QFieldCloud and download the project to your device.
- Collect and edit data, then upload your changes.
Desktop preparation
- Download the updated files using QFieldSync (the GeoPackage file will update with the new edits).
Warning
We do not recommend editing or adding new data directly from QGIS while field work is ongoing. Every time QGIS synchronizes the project to QFieldCloud, the entire GeoPackage replaces the cloud version, whereas QField updates only the actual changes.
PostGIS¶
Using PostGIS is a good choice if your data must be visible and editable for multiple users.
It requires your database to be publicly accessible, and credentials must be saved unencrypted in the QGIS project file. Please consider the security implications of these requirements and maintain regular backups.
Access to the database can be saved and made available for QFieldCloud in two ways:
- Direct Connection: Store all information, including credentials, directly inside the QGIS project file.
- Using a PG Service File: Use a service file saved as a secret in QFieldCloud. We highly recommend using a PG Service file for data security. Read more on PG Service and secrets in the PG Service documentation.
Workflow
Desktop preparation
- Create a new QGIS project.
- Add a PostGIS layer, making sure to store credentials in the project or create a PG Service file.
- Ensure the PostGIS database connection is publicly accessible via a public IP or domain name (it will not work with
127.0.0.1orlocalhost). - In the QFieldSync project settings, select your preferred packaging mode.
- Upload the project to QFieldCloud.
Fieldwork
- Sign in to QFieldCloud and download the project.
- Collect data in the field.
- Upload or synchronize changes once back online when using Offline editing.
Desktop preparation
- View all changes directly inside the PostGIS database.
Note
When using direct database access, QField edits data directly in the PostGIS database. This option requires a reliable internet connection in the field, but allows all users to view edits immediately and utilize PostGIS setup features (such as triggers and generated fields).
Note
When using Offline Editing, QField works on a local copy of the database in a GeoPackage, which QFieldCloud syncronizes to the original database upon synchronization. We recommend using offline editing to avoid data loss during connection drops. Changes become visible to other users only after synchronization occurs across devices. Advanced PostGIS operations (such as triggers) are unavailable on local GeoPackage copies in QField.
Find more information in the QFieldCloud technical reference.
Restriction of Project Files¶
To prevent modifications to the core QGIS project file, project administrators can restrict access to these files in QFieldCloud.
Workflow
- Navigate to Settings on your QFieldCloud project page.
- Enable Restrict project files.
Once enabled, only administrators and managers can push changes to restricted files. Other project collaborators can still upload and modify project datasets (such as GeoPackages), but cannot alter the main project file or its core components.
Restricted Files¶
When enabled, the following files can only be modified or uploaded by a user with an Admin or Manager role:
- The primary QGIS project file (e.g.,
my_project.qgz) - The attachments zip archive associated with the project (e.g.,
my_project_attachments.zip) - QGIS auxiliary data files that store information like label positions (e.g.,
my_project.qgd) - QField style files (
.qml) that share the same name as the project file
Handling Conflicts¶
When working in a collaborative environment with multiple users accessing the same project, two users might modify the same feature during fieldwork. In your project settings page, choose whether QFieldCloud applies the "last wins" policy or flags conflicts for project managers to resolve manually.
Read more on how QFieldCloud handles conflicts in the technical documentation.
Activate Email Notifications for QFieldCloud Changes¶
To receive notifications about activity in your teams and projects, activate the email notification option in QFieldCloud.
Workflow
- Navigate to Settings on your QFieldCloud landing page.
- Navigate to the Notifications section.
- Customize the notification frequency for your registered email address.

You can receive notifications for the following events:
- Creazione di un Utente
- Creazione di un'Organizzazione
- Eliminazione di un'Organizzazione
- Creazione di membri dell'organizzazione
- Eliminazione di membri dell'organizzazione
- Creazione di un Team
- Eliminazione di un Team
- Creazione di membri di un team
- Eliminazione di membri di un team
- Creazione di un Progetto
- Eliminazione di un Progetto
- Creazione dei membri del progetto
- Eliminazione dei membri del progetto
You only receive notifications for actions initiated by other organization members or project collaborators.
Enhance Your Project with the "Optimized Packager"¶
We recommend using the Optimized Packager over the deprecated QGIS Core Offline Editing packager for all projects.
Explanation
Unlike the "GIS Core Offline Editing packager, the "ptimized Packager"* consolidates filtered layers originating from the same data source into a single offline layer. This preserves distinct symbologies while using less storage. For example, if you set multiple filters on your project layers, older packagers downloaded the entire layer multiple times before applying filters locally. With the Optimized Packager**, filters are applied during the server packaging job, reducing download sizes.
Consider this example configuration:
- Layer 1.1:
- Sorgente Dati:
layers.gpkg - Tabella:
layer1 - Filtro:
id % 2 = 1 - Layer 1.2:
- Sorgente Dati:
layers.gpkg - Tabella:
layer1 - Filtro:
id % 2 = 0
Result:
- Optimized Packager: Generates a single layer in the offline GeoPackage, combining data from
layer1with specified filters applied. - QGIS Core Offline Editing Packager: Creates two separate layers representing the filtered datasets:
- Layer 1: Filtrato con
id % 2 = 1 - Layer 2: Filtrato con
id % 2 = 0
Note
Configure this setting on the Settings page of each project in QFieldCloud.
Configuration of Attachment Folders¶
If your project contains photos, documents, or other attachments, configure your QGIS project to ensure files download to your QField device.
Workflow
- In QGIS, navigate to Project > Properties... > QField.
- Add your folder path under the Attachments and Directories section. Ensure entered paths are relative to your project file location.
Example
If you use pictures for symbology stored in a folder named assets inside your project home directory, add assets to the attachment directories list.
Connect to a Custom QFieldCloud Server in QField and QFieldSync¶
QField and QFieldSync connect to the default QFieldCloud service at app.qfield.cloud.
Modify the default server address in QField and QFieldSync if using a custom deployment:
Workflow
- Open the login screen in QField or QFieldSync.
- Tap three times on the Nyuki logo (the QFieldCloud logo).
- Enter your custom server URL in the revealed address field. Leaving the field empty automatically reconnects to the default QFieldCloud server.

Note
QField remembers the last entered server URL for future sessions. QFieldSync does not support opening the same cloud project across multiple QGIS profiles. Use a single QGIS profile for your QFieldCloud projects to prevent synchronization issues.




