Hi Brian,
Yes, you can rely on the attachments being saved first. And the data won't be saved if saving any of the attachment failed.
Alex
On Mon, Mar 16, 2015 at 4:39 PM bwallis42 <
[hidden email]> wrote:
I've noticed that when a template or form is saved that the attachments are
saved first followed by the form (or template) xml data.
Can I rely on this order of operations? I would like to save the form and
attachments as a single atomic operation and so want to temporarily store
the attachments and then perform the atomic document save when the document
data is received.
thanks
brian...
--
View this message in context: http://discuss.orbeon.com/Persistence-REST-api-order-of-operations-tp4659678.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet