Orbeon Forms document_Id

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon Forms document_Id

Kevin Hunt, Ph.D
Does anyone know if I can get the current document id from inside the Orbeon forms-runner.

We need to pass it (document_id) in our "Go uri" to do a few custom tasks.

Is  there an xpath function that I can use to get the current "document_id"

>
>
>
> Form Runner/Form builder attempt to use friendly URLs.
> The following URL patterns are followed:
>
>    * Summary page for a given form type:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/summary
>    * New empty form data:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/new
>    * Edit existing form data:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/edit/[DOCUMENT_ID]
>    * Read-only HTML view:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/view/[DOCUMENT_ID]
>    * Read-only PDF view:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/pdf/[DOCUMENT_ID]
>
> ------------------------------------
> Dr. Kevin H. Hunt - TransWorks
> Dir of IT and Infrastructure
> Security Officer
> [hidden email]
> 260-487-4610
> 260-487-4440 Fax
>
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon Forms document_Id

Erik Bruchez
Administrator
Alex replied to your question on StackOverflow:


-Erik

On Mon, Feb 28, 2011 at 2:08 PM, Kevin Hunt, Ph.D <[hidden email]> wrote:
Does anyone know if I can get the current document id from inside the Orbeon forms-runner.

We need to pass it (document_id) in our "Go uri" to do a few custom tasks.

Is  there an xpath function that I can use to get the current "document_id"
>
>
>
> Form Runner/Form builder attempt to use friendly URLs.
> The following URL patterns are followed:
>
>    * Summary page for a given form type:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/summary
>    * New empty form data:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/new
>    * Edit existing form data:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/edit/[DOCUMENT_ID]
>    * Read-only HTML view:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/view/[DOCUMENT_ID]
>    * Read-only PDF view:
>      /fr/[APPLICATION_NAME]/[FORM_NAME]/pdf/[DOCUMENT_ID]
>
> ------------------------------------
> Dr. Kevin H. Hunt - TransWorks
> Dir of IT and Infrastructure
> Security Officer
> [hidden email]
> 260-487-4610
> 260-487-4440 Fax
>
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet



--
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