Sorin Vasilescu
2018-08-22 12:31:55 UTC
Hi,
I've done the following things:
- I'm loading form builder in an iframe (like described here
<https://doc.orbeon.com/form-runner/link-embed/linking>, but with
URL /orbeon/fr/orbeon/builder/new)
- I'm proxying all requests to /orbeon in order to add headers for user and
group (like described here
<https://doc.orbeon.com/form-runner/access-control/users#header-driven-method>
)
- I'm also dynamically adding some inputs for CSRF purposes and
reconfiguring the YUI default headers, also for CSRF
I can successfully create, edit, save and publish forms this way, but I
have two issues:
1. The "Test" button does not work, it loads the form builder UI, instead
of loading a form runner displaying the form. Any idea what I might be
doing wrong?
[image: Screenshot from 2018-08-22 14-35-42.png] <about:invalid#zClosurez>
2. If I create a form while I'm in the iframe and the form gets created
with a username and group, I can't edit it directly from the orbeon
interface later, I just get a nondescript error message. Is this how it's
intended to work because of form builder permissions?
Integrated:
[image: Screenshot from 2018-08-22 14-52-53.png] <about:invalid#zClosurez>
Stand-alone:
[image: Screenshot from 2018-08-22 14-53-12.png] <about:invalid#zClosurez>
Thanks,
Sorin.
I've done the following things:
- I'm loading form builder in an iframe (like described here
<https://doc.orbeon.com/form-runner/link-embed/linking>, but with
URL /orbeon/fr/orbeon/builder/new)
- I'm proxying all requests to /orbeon in order to add headers for user and
group (like described here
<https://doc.orbeon.com/form-runner/access-control/users#header-driven-method>
)
- I'm also dynamically adding some inputs for CSRF purposes and
reconfiguring the YUI default headers, also for CSRF
I can successfully create, edit, save and publish forms this way, but I
have two issues:
1. The "Test" button does not work, it loads the form builder UI, instead
of loading a form runner displaying the form. Any idea what I might be
doing wrong?
[image: Screenshot from 2018-08-22 14-35-42.png] <about:invalid#zClosurez>
2. If I create a form while I'm in the iframe and the form gets created
with a username and group, I can't edit it directly from the orbeon
interface later, I just get a nondescript error message. Is this how it's
intended to work because of form builder permissions?
Integrated:
[image: Screenshot from 2018-08-22 14-52-53.png] <about:invalid#zClosurez>
Stand-alone:
[image: Screenshot from 2018-08-22 14-53-12.png] <about:invalid#zClosurez>
Thanks,
Sorin.
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.