问题
I have a requirement to attach a PDF file with a form created by using Orbeon Form builder. Is there an inbuilt form builder control which I can use for this and please help me to retrieve the attached PDF file when the Orbeon form is submitted.
回答1:
Upon users submitting the form, Orbeon Forms can run a process you define. This process can use the send() action to have the data entered by users sent through an HTTP POST to a service you provide.
If files were attached to the form, the data your service receives will contain one or multiple URLs pointing back to Orbeon Forms. Your service can then use those URLs to retrieve the attachments. So your service can make those calls back to Orbeon Forms and retrieve the files, it will be need to be authorized to do so.
来源:https://stackoverflow.com/questions/42546185/orbeon-forms-uploading-attachments-and-retrieving