API embedForm problem

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

API embedForm problem

Andrzej
Hi Alex,

It seems that I made it in the same way as you. The different is I'm using JavascriptAPI while you're using JavaAPI instead.

The settings of an input control looks like: https://i.imgur.com/bEtufKg.png
As you can see, I set the Initial Value field too (tested with and without it), which is not displayed on the published form which means, that the formula works (but return empty value). If I remove that formula from the field, the form will display inital value of 4567.
Here is the url of the embeded form: https://e-obywatel.pro3w.com.pl/form.php
If you take a look on the source code you'll see, that I passed the "abc" variable in the parameterString.

I have no idea why it doesn't work.

I can get you an access to the form builder, if you need to see where is the problem.

PS. I sent that message on morning and now I saw that "your message is removed" - I don't know why, so I send it once again now.

Help :)
Andrzej

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/62457023-7647-464b-8406-fc830fbcbe19n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Alessandro  Vernet
Administrator
Hi Andrzej,

Ah, I've tested the Java API, not the JavaScript API; stupid me! So I can
reproduce the issue you're having when using the correct API. I've create
issue #4698, we will look into it, and will follow-up here when fixed.

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

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1603947639204-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Andrzej
Okay, nothing happened :)

I checked mispelling and other things, but the problem still existed. I will follow up that issue.

When the full stable 2020 version of PE is expected?

Thanks,
Andrzej


czwartek, 29 października 2020 o 06:00:41 UTC+1 Alessandro Vernet napisał(a):
Hi Andrzej,

Ah, I've tested the Java API, not the JavaScript API; stupid me! So I can
reproduce the issue you're having when using the correct API. I've create
issue #4698, we will look into it, and will follow-up here when fixed.

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

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/56fc58d4-f96c-4406-9ce3-a94421ef1996n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Alessandro  Vernet
Administrator
Hi Andrzej,

We are planning to make the release before the end of the year, so… in the
next 2 months! But I'll follow-up on this thread when we have fix for this,
and will post a new link to a build with the fix.

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1604017490099-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Andrzej
Ok, then. I will wait for fix the problem.

Another problem I saw with embed form is generating PDF and his Review as well. When I click on these buttons, the same page is opened in a new window but with form to edit.
Take a look here: https://e-obywatel.pro3w.com.pl/form.php
I've added Send button, which works fine, but Review and PDF doesn't.

On the running form from Form Runner these buttons work correctly - as I expected.

--
Andrzej

piątek, 30 października 2020 o 01:24:52 UTC+1 Alessandro Vernet napisał(a):
Hi Andrzej,

We are planning to make the release before the end of the year, so… in the
next 2 months! But I'll follow-up on this thread when we have fix for this,
and will post a new link to a build with the fix.

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/4983c5c6-71f7-44c6-9a93-55f9d7241c46n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Alessandro  Vernet
Administrator
Hi Andrzej,

Indeed, the PDF and review, and anything that navigates to another page,
aren't supported. Those are the same limitations that we have for the Java
embedding API (see the last section on the page linked below).

https://doc.orbeon.com/form-runner/link-embed/java-api

- The case of the PDF should be simpler to solve, for both the Java and
JavaScript APIs.
- And loading the review page should also be solvable in the context of the
JavaScript API.

Is there one that you would need more than the other?

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1604080070877-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Andrzej
Hi Alex,

Thanks for an explanation.

I'm in the beginning of the whole project so I'm not sure which functionality I need yet.
I already adopted a send action, which made a few operations like save xml, save meta to the server.

I think, generate PDF file is possible in other way, like execute well-formed url /fr/orbeon/app/form/pdf/docid, right?

If I have questions, and probably will, let me write to you.

--
Andrzej

piątek, 30 października 2020 o 18:47:55 UTC+1 Alessandro Vernet napisał(a):
Hi Andrzej,

Indeed, the PDF and review, and anything that navigates to another page,
aren't supported. Those are the same limitations that we have for the Java
embedding API (see the last section on the page linked below).

https://doc.orbeon.com/form-runner/link-embed/java-api

- The case of the PDF should be simpler to solve, for both the Java and
JavaScript APIs.
- And loading the review page should also be solvable in the context of the
JavaScript API.

Is there one that you would need more than the other?

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/8b249d04-1ff6-4cda-89eb-2bfaf391bf3bn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: API embedForm problem

Alessandro  Vernet
Administrator
Andrzej wrote
> If I have questions, and probably will, let me write to you.

Sounds good, Andrzej.

‑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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1604339117971-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet