I have a form that is being sent to a third party application. The form is a static image in the form. This image is a png and it is a company logo.
-- We have modified the send button to a custom is-send.xpl. When the application receives it, it received the pdf that was created but also a second attachment. This second attachment is the image that is on the form (M). This is the process for the button: Any ideas? Regards, Oscar 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/ac0c7505-c787-4865-8d27-3134b83a09a7%40googlegroups.com. |
Administrator
|
Hi Oscar,
Indeed, if you create a static image in Form Builder, that "Static Image" control is a control like any other control: in the data, there will be an element for that control, and and the data associated to the field is store in that element (here, the link to the image). Are you saying that you wouldn't like to have that element and related link in the data? ‑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/1583260488008-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
-- The PDF created has the image as it is in the first picture and this is the desired behavior. However, it also creates a second attachment that includes solely the image. Therefore the third party application receives the desired PDF with the same layout of the form, but a separate attachment with the solely the image. Regards, Oscar On Tuesday, March 3, 2020 at 10:34:30 AM UTC-8, Alessandro Vernet wrote: Hi Oscar, 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/dceba331-0cfe-4e00-9c08-2a634a6f079b%40googlegroups.com. |
Administrator
|
Hi Oscar,
So you're saying that the problem is with the email sent by Orbeon Forms, that contains as attachments both the PDF (with the image), and the image (as a second attachment), and you're saying that you'd only like to have the PDF. Is this correct? ‑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/1583271642263-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
That is correct Alex. Since the image is only supposed to be a visual on the form, we would not like the image to be sent as an attachment.
-- Regards, Oscar On Tuesday, March 3, 2020 at 1:40:25 PM UTC-8, Alessandro Vernet wrote: Hi Oscar, 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/7279caa4-a884-423c-8528-7701401f9b45%40googlegroups.com. |
Administrator
|
Got it Oscar, thank you for the precisions. We'll think about what we can do
about this, and will follow-up on this thread. ‑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/1583279278778-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Oscar
CONTENTS DELETED
The author has deleted this message.
|
Administrator
|
In reply to this post by Alessandro Vernet
Hi Oscar,
Getting back to this one, if I create a form with a static image, I am not seeing that image attached to the email sent out by Orbeon Forms. The email (see below) has 2 attachments: the XML and the PDF, and the image correctly shows in the PDF, but isn't attached as a 3rd file. Are you seeing something different? Are you using Orbeon Forms 2019.2? email.png <http://discuss.orbeon.com/file/t119778/email.png> ‑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/1585676840548-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex, I am getting back to this thread. I apologize, the information previously provided was mistaken. The attachments are not being sent by email. They are being sent by a custom is-send.xpl the lofic for the send is as follows: <property as="xs:string" debug="xxx form submit" name="oxf.fr.detail.process.is-send.*.*"> require-uploads then validate-all then save then send(uri = "/fr/service/custom/orbeon/echo", content = "pdf-url", replace = "none") then send(uri = "/fr/service/custom/rpic/is-send" , method = "post", replace = "none", nonrelevant = "keep") then success-message("save-success") then result-dialog recover error-message("database-error") </property> As of right now, we have removed the images from the form I am attempting to setup a local environment to test this. However, it is still my understanding that the images were still being sent as a second attachment to the third party application On Tuesday, March 31, 2020 at 10:47:24 AM UTC-7, Alessandro Vernet wrote: Hi Oscar, 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/eed3d110-9117-4bfa-aace-69a5e35f8f1c%40googlegroups.com. |
In reply to this post by bruno.buzzi
Bruno, I think the post you referenced was the logo at top right? I have a logon on the form. The rest of the form's logos are set to the value that we are expecting. On Wednesday, March 4, 2020 at 10:43:44 AM UTC-8, bruno.buzzi wrote: Hi, 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/abca7e77-968b-4c25-a814-1bceba1aae30%40googlegroups.com. |
Administrator
|
In reply to this post by Oscar
Hi Oscar,
Got it, then I imagine that this is something that you will need to debug in your `is-send.xpl`. ‑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/1588721118996-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |