Productivity ·
Document Management: Dropbox-Style Shared Folders, Docs and Sheets
Company files are usually scattered across email, USB drives and personal cloud accounts. The ERPSqlite Documents app brings them together in shared folders with permissions, lets you write documents and spreadsheets without leaving the ERP, and shares folders with clients through a link.

Key features
- Folders and subfolders with colors, permissions (view or edit) and a trash bin.
- Word-style documents that save automatically as you type, with PDF export.
- Spreadsheets with formulas, AutoSum and multiple sheets, downloadable as Excel (.xlsx) or CSV.
- Public links to a folder, with a username and password sent by email, .zip download and token-based file uploads.
- Folder sync with Dropbox, Google Drive, OneDrive or FTP: anything new or changed is uploaded automatically.
- Folders linked to projects, construction budgets and WhatsApp conversations, with icons that show it.

App screens and views
Documents has a single menu, “Files”, with a four-section side panel: “My files” (your space), “Shared with me” (folders other users have shared with you), “Recent” (the latest modified files) and “Trash”.
A folder's contents can be shown as a grid or a list with the “Grid view” / “List view” button. The “Search files and folders...” box finds items by name and also by the text of documents written in the app.
“New” creates a folder, a document or a spreadsheet, and “Upload” adds files (you can also drag and drop them). PDFs and images open in a preview.

Documents and spreadsheets without leaving the ERP
The document editor supports headings, lists, tables, images and page breaks. In “Page setup” you choose A4 or Letter, orientation, margins and page numbering; then click “Download PDF”.
Spreadsheets support formulas in English or Spanish (SUM, AVERAGE, IF…), “AutoSum” and the “Currency (€)” and “Percentage” formats. You can download them with “Download Excel (.xlsx)” or as CSV, and any .xlsx you upload opens in the same editor.
If another user saves the same file while you're editing it, the ERP won't overwrite it: it warns you and lets you choose between “Save my version” and “Reload (discard my changes)”.

Permissions between users
Each user has their own space in “My files”. From a folder's menu, “Share” opens a dialog with “People with access”, where the owner adds teammates with “Can view” or “Can edit” and removes access when they no longer need it.
Whoever receives a folder finds it under “Shared with me” and can remove it from their list with “Stop viewing”, without affecting the owner.

Cloud sync
In the folder's menu, “Sync with the cloud…” and “Add cloud” link it to Dropbox, Google Drive, OneDrive or an FTP server. Everything placed in the folder and its subfolders is uploaded with the same structure every 10 minutes (the “Documents: sync folders with the cloud” scheduled action) or when you click “Sync now”.
For Dropbox, Google Drive and OneDrive you need to create your own app in each service's developer console; the dialog tells you which details to copy.

A practical example
A remodeling company creates the folder “Main Street kitchen remodel” and, with “Project and budget…”, links it to the project and its construction budget. Inside it keeps photos of the existing condition, the signed contract and a spreadsheet with the measurements.
The client gets a link with a username and password that expires when the job is finished, and the architect gets the token upload page to drop off the plans. The folder syncs with the company's Google Drive.

Files arrive on their own
Invoices read by OCR are saved to their folder, backups can leave a copy in Documents, and files sent to you via WhatsApp are saved to the contact's or group's folder. If the folder is synced, they also end up in your cloud.

Common mistakes and how to avoid them
- Sending a link nobody can open: links are served by the desktop app. For other computers, turn on “Allow access from other computers on the network” in Settings → External API; for the internet, expose the port through a proxy or an HTTPS tunnel.
- Counting on the trash forever: anything that has been there for more than 30 days is permanently deleted.
- Uploading huge files: each file can be up to 50 MB.
- Expecting a complex .xlsx to stay intact: charts and merged cells are not preserved when saving.

Frequently asked questions
Can I sync with Google Drive?
Yes, a folder (with its subfolders) syncs with Dropbox, Google Drive, OneDrive or an FTP server, keeping the same structure, every 10 minutes or on demand.
Can I write documents inside the ERP?
Yes, Word-style documents and spreadsheets with formulas, saved in your folders.
How do I share a folder with a client?
With a public link, optionally protected with a username and password.
How long are files kept in the trash?
30 days. Until then you can use “Restore”; after that they are permanently deleted.
If I delete a file in the ERP, is it deleted in Dropbox?
No. Sync uploads new or changed files, but deleted files are not removed from the cloud.
Can people send me files without seeing the folder?
Yes, with “Token upload”: an upload page that doesn't show the folder's contents.
