I have created a Form using AEM component.
I save the details provided by the user in a CSV file in /content/dam/... of Publish environment.
While the data gets fetched properly but when the code gets deployed again, the CSV file gets removed and the Data is lost.
If anyone has any solution for the same, please help me out.
Regards
I have not got any probable cause for this issue on internet and thus tried posting here.
You should check the paths of filter.xml files in your project. One of them must be overwriting your "/content/dam/..." path.