This is very good. It works fine and I can get the file name and attachment path in the stdout file, Can you share the handleafsubmission.handleafsubmission maven project with me please?
com.aem.form.core.HandleForm hf = sling.getService(com.aem.form.core.HandleForm.class); hf.injestFormData(customer_ID,customer_Name,customer_Shipping_Address, customer_State,customer_ZIPCode,customer_Email); i mean this method (injestFormData )
about first question Yes, But I tried a lot to get the attached files to the maven project using custom action servlet but I couldn't i want to get attachments in this servlet.https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:0a7a542e-93b0-4aaf-9a5c-83272ded7552