I am currently using the work flow send option from within Orbeon-pe to send the submitted data back to my application. From within my application, I need to be able to reference to the UID of the form which has been generated when orbeon persists the document.
As far as I have been able to tell, it looks as if the ability to send the document # back to the form as a request parameter has been added into Orbeon-PE from version 4.0.
In order to get it working in Orbeon-pe, I have amended persistence-model.xml in the orbeon-form-runner.jar to with the code: resource="{concat($workflow-success-uri, if (contains($workflow-success-uri, '?')) then '&' else '?', 'document=', $document)}"
(which was taken from the orbeon source repo). This appears to have resolved the issue I am facing, and the document # is now sent as a request parameter. Is there a better way of doing this in Orbeon-PE 3.9?
Kind Regards Alvin Otto
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Alvin,
I think this is fine. You can see how we do it in the latest code here: https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/includes/persistence/persistence-model.xml#L613 -Erik On Thu, Aug 2, 2012 at 11:03 PM, Alvin Otto <[hidden email]> wrote: > I am currently using the work flow send option from within Orbeon-pe to send > the submitted data back to my application. > > From within my application, I need to be able to reference to the UID of the > form which has been generated when orbeon persists the document. > > As far as I have been able to tell, it looks as if the ability to send the > document # back to the form as a request parameter has been added into > Orbeon-PE from version 4.0. > > In order to get it working in Orbeon-pe, I have amended > persistence-model.xml in the orbeon-form-runner.jar to with the code: > resource="{concat($workflow-success-uri, if (contains($workflow-success-uri, > '?')) then '&' else '?', 'document=', $document)}" > (which was taken from the orbeon source repo). > > This appears to have resolved the issue I am facing, and the document # is > now sent as a request parameter. Is there a better way of doing this in > Orbeon-PE 3.9? > > Kind Regards > Alvin Otto > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |