Customizing form builder process and buttons

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

Customizing form builder process and buttons

vicaed
This post was updated on .
Hi Alex,
We need to be notified in some way when a form author publish a new form in
form builder. I thought a good way to do it could be customizing the process
asociated to the publish button in form builder, but I don´t find
information about how to do it. Currently I have customized the send and
save buttons in form runner to send some data to an url when users press
these buttons, but I don´t know how to do this with form builder buttons, it
is possible to do the same with the publish or save buttons of form builder?

If not, do you know what we could do to be notified every time form authors
publish a new form?

For the form runner buttons I write in properties:

<property as="xs:string" name="oxf.fr.detail.process.save.sede.*" >
send(
uri = "http://localhost:8090/helloWorld/hello" ,                
method     = "post",
content = "xml",
prune-metadata = "false",
replace = "all"
)
    </property>

What would be the equivalent property for form builder process?

--
Sent from: http://discuss.orbeon.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 orbeon+unsubscribe@googlegroups.com.
To post to this group, send email to orbeon@googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing form builder process and buttons

Alessandro  Vernet
Administrator
Hi Vicente,

I assume you've already seen Erik's answers, but for those finding this
through a search, currently, unfortunately, there is no process associated
with publishing a form, so you cannot hookup any code at that level.

For the `save` button, you can do this with property
`oxf.fr.detail.process.save.orbeon.builder`.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.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].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet