In my process I need to handle attached files (to the xfaform). I mean the users should be able to attach i file and the next user should be able to view it. How is this done?
Do I need to store them in a special way or anything?
It's a bit more difficult because you can't add it to an xfaForm variable.
Remember an xfaForm variable points to an XDP that gets rendered into a PDF by a render service. The PDF is recreated for every user step and the attachments would be lost. You would either need to pass the whole PDF from step to step as oppose to pass just the data (using a Document Form) or have to save the attachments in a variable and re-attach them every time.
It would be a lot easier to just use the built in attachment functionality ti you can.