New form URL in builder, can I include appname and formname?

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

New form URL in builder, can I include appname and formname?

bwallis42
Are there parameters on the URL  to create a new form that I can use to specify the application name, form name, title and description or maybe a POST request with parameters?

I want to avoid the initial dialog asking for these things or at least pre-populate it.

Something like:

http://localhost:8080/orbeon/fr/orbeon/builder/new?appname=cpf&formname=test&title=A%20form

thanks.
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

Alessandro  Vernet
Administrator
Hi Brian,

No, there isn't. But it wouldn't be hard to do. Can you tell us more about the use case you have in mind for this?

Alex

On Tue, May 19, 2015 at 5:56 PM, bwallis42 <[hidden email]> wrote:
Are there parameters on the URLĀ  to create a new form that I can use to
specify the application name, form name, title and description or maybe a
POST request with parameters?

I want to avoid the initial dialog asking for these things or at least
pre-populate it.

Something like:

http://localhost:8080/orbeon/fr/orbeon/builder/new?appname=cpf&formname=test&title=A%20form

thanks.


--
View this message in context: http://discuss.orbeon.com/New-form-URL-in-builder-can-I-include-appname-and-formname-tp4659960.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
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

bwallis42
Alessandro Vernet wrote
No, there isn't. But it wouldn't be hard to do. Can you tell us more about
the use case you have in mind for this?
Our application manages a lifecycle and versions for templates so we are launching the builder from our application after specifying the form name and title, the application name is always the same and this is mapped to our persistence implementation. Currently we don't use the description.

So when a user creates a new form we already know the parameters for it and just want to show the builder ready to design the form.

thanks,
brian...
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

bwallis42
Additional info.

Our current integration with Orbeon 3.9 does do this (no dialog for the form template metadata) but this was done by hacking /orbeon/src/resources/forms/orbeon/builder/form/model.xml to use the request parameters  instead of presenting the dialog.

I'm trying my hardest to make our new integration work with your standard binary distribution of orbeon so i don't have such a difficult task to keep it up to date. So the process of customisation of the orbeon source and building our own version is not going to happen here any more.

I suspect that to support what we need would be a reasonably simple change in model.xml to use the request parameters if they are specified or otherwise just run with the current behaviour.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

Alessandro  Vernet
Administrator
Hi Brian,

Makes sense, and striving to avoid custom changes to the Orbeon Forms source is laudable. We'll discuss this internally, and will follow-up with you here.

Alex

On Sun, May 24, 2015 at 10:04 PM, bwallis42 <[hidden email]> wrote:
Additional info.

Our current integration with Orbeon 3.9 does do this (no dialog for the form
template metadata) but this was done by hacking
/orbeon/src/resources/forms/orbeon/builder/form/model.xml to use the request
parametersĀ  instead of presenting the dialog.

I'm trying my hardest to make our new integration work with your standard
binary distribution of orbeon so i don't have such a difficult task to keep
it up to date. So the process of customisation of the orbeon source and
building our own version is not going to happen here any more.

I suspect that to support what we need would be a reasonably simple change
in model.xml to use the request parameters if they are specified or
otherwise just run with the current behaviour.

Thanks.


--
View this message in context: http://discuss.orbeon.com/New-form-URL-in-builder-can-I-include-appname-and-formname-tp4659960p4659984.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
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

Alessandro  Vernet
Administrator
Hi Brian,

We've discussed about this, and think it is small enough that we can just shoot for doing this for 4.10. (There guarantee, but we'll do our best.) You'll let me know if there is anything that I didn't get quite right in the RFE:


Alex

On Mon, May 25, 2015 at 11:20 PM, Alessandro Vernet <[hidden email]> wrote:
Hi Brian,

Makes sense, and striving to avoid custom changes to the Orbeon Forms source is laudable. We'll discuss this internally, and will follow-up with you here.

Alex

On Sun, May 24, 2015 at 10:04 PM, bwallis42 <[hidden email]> wrote:
Additional info.

Our current integration with Orbeon 3.9 does do this (no dialog for the form
template metadata) but this was done by hacking
/orbeon/src/resources/forms/orbeon/builder/form/model.xml to use the request
parametersĀ  instead of presenting the dialog.

I'm trying my hardest to make our new integration work with your standard
binary distribution of orbeon so i don't have such a difficult task to keep
it up to date. So the process of customisation of the orbeon source and
building our own version is not going to happen here any more.

I suspect that to support what we need would be a reasonably simple change
in model.xml to use the request parameters if they are specified or
otherwise just run with the current behaviour.

Thanks.


--
View this message in context: http://discuss.orbeon.com/New-form-URL-in-builder-can-I-include-appname-and-formname-tp4659960p4659984.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
Reply | Threaded
Open this post in threaded view
|

Re: New form URL in builder, can I include appname and formname?

Erik Bruchez
Administrator
This is now implemented:

    https://github.com/orbeon/orbeon-forms/issues/2245

and documented:

    https://github.com/orbeon/orbeon-forms/wiki/Form-Builder-~-Integration#bypassing-the-new-form-dialog

The feature will be available in Orbeon Forms 4.10.

-Erik