AI OnAI Off
If the database is read-only, it will not save the data you submit or the file you upload, even if you use MongoDB as your storage provider.
To store your form data and file in a read-only ZDD, you need to change the Forms logic on SubmissionStorageFactory and DataSubmissionService. You need to make them save your data and file in another place (MongoDB) and then sync them back after the deployment is done.
https://docs.developers.optimizely.com/content-management-system/v1.2.0-forms/docs/creating-new-data-storage-mechanism
If we can get something in place like our own CosmosDB resource with MongoDB interface and hook it up like in above docs, can we then deploy with read-only mode and still store form postings? Or could something like form file uploads cause issues?
Anyone have some experiences to share?