I am using the guidefileupload component to attach files to the Adaptive forms, I see that the files are being uploaded into the /tmp/fd/af/ directory on the server by default. I believe something like this should be configurable. Is there a way to change the path to a custom one? I couldn't find any documentation on this. Any guidance on this is appreciated
Solved! Go to Solution.
Don't recall if there was a configuration OOTB to change the file upload path, but you can write an OSGi service[0] to store the form attachments in a new location in the repository.
Hope this helps.
no. That location is temporary storage location and the files will be deleted after a period of time
Thank you @workflowuser for the response, but I see that on the guide bridge API, getGuideState method which has a mention of fileuploadpath
Adaptive Forms Class: GuideBridge (adobe.com)
I was wondering what a parameter like this actually one does on a get call ?
Don't recall if there was a configuration OOTB to change the file upload path, but you can write an OSGi service[0] to store the form attachments in a new location in the repository.
Hope this helps.
Thank you @Pulkit_Jain_ , I am aware of this article and implemented something similar to this.
I do feel that this path to which the files are written should be configurable. Hope this will be considered by the AEM team and be added as a feature for the later versions.
Views
Likes
Replies
Views
Likes
Replies