I'd like to be able to do the following. In my application (not Orbeon Forms) a user selects an entity then the user decides to fill a particular form related to the entity and clicks on a button that, for example, opens the form in Orbeon FormRunner. I'd like to be able to pass the entity ID to the FormRunner so when form data is saved/submitted the entity ID is saved/submitted with the form data. I'd like to establish associations between Orbeon Forms form data instances and instances of entities in another application.
Is it possible to invoke FormRunner new form with passing some id that can be retrieved on saving? For example, in according to Wiki documentation "Form Builder - Integration Notes and Persistence Layer" it is possible to use the following URL for new empty form: /fr/[APPLICATION_NAME]/[FORM_NAME]/new I'd like to be able to add a parameter (for example, /fr/[APPLICATION_NAME]/[FORM_NAME]/new/[ENTITY_ID]) to the URL that can be retrieved on saving, I am new to Orbeon Forms. I am trying to understand if our company can use Orbeon Forms. I have looked through the user's guide, and Wiki and searched the mailing list but I have not found any answer to my question. Any advice will be appreciated. Thanks, Oleg -- 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 |
There are posts about this in the user group. I asked similiar question several months back and you can use your own ID. If you open up the form and look at instance inspector, you will see the instance that holds the ID for the form. Over-write that with a parameter you send in after .../new?myparameter='12345'. On xforms-model-construct-done when the page loads get the set the form id to this parameter you passed in. Then when the form saves, your ID will be the file name when you go to retrieve the form later. I dis this for a client several months back and do not use form runner that much so this is off of memory - my post might give you more. Brian Steuhl home office: 732-961-3187 From: Oleg Ravun <[hidden email]> To: [hidden email] Sent: Wed, November 10, 2010 12:43:35 PM Subject: [ops-users] passing parameters to FormRunner I'd like to be able to do the following. In my application (not Orbeon Forms) a user selects an entity then the user decides to fill a particular form related to the entity and clicks on a button that, for example, opens the form in Orbeon FormRunner. I'd like to be able to pass the entity ID to the FormRunner so when form data is saved/submitted the entity ID is saved/submitted with the form data. I'd like to establish associations between Orbeon Forms form data instances and instances of entities in another application. Is it possible to invoke FormRunner new form with passing some id that can be retrieved on saving? For example, in according to Wiki documentation "Form Builder - Integration Notes and Persistence Layer" it is possible to use the following URL for new empty form: /fr/[APPLICATION_NAME]/[FORM_NAME]/new I'd like to be able to add a parameter (for example, /fr/[APPLICATION_NAME]/[FORM_NAME]/new/[ENTITY_ID]) to the URL that can be retrieved on saving, I am new to Orbeon Forms. I am trying to understand if our company can use Orbeon Forms. I have looked through the user's guide, and Wiki and searched the mailing list but I have not found any answer to my question. Any advice will be appreciated. Thanks, Oleg -- 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 |
/fr/App/Form/edit/MY_ID And implement your own REST persistence layer. On load, Orbeon will get your data from the persistence url: /crud/App/Form/data/MY_ID/data.xml On submit, Orbeon will then send a PUT to that same url with the data. On 11/10/2010 09:51 AM, Brian Steuhl wrote:
-- 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 |