Form Image being sent as attachment

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

Form Image being sent as attachment

Oscar
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. 

Untitled picture.png



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:

Untitled picture2.png


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.
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Alessandro  Vernet
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
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Oscar
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,

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: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">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/dceba331-0cfe-4e00-9c08-2a634a6f079b%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Alessandro  Vernet
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
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Oscar
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,

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: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">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/7279caa4-a884-423c-8528-7701401f9b45%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Alessandro  Vernet
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
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

bruno.buzzi
In reply to this post by Oscar
Hi,

If the image is always the same image you can put it as form banner (not as
an attached image on the form) and if it is a banner (set in the css) it
would not be sent by mail.

Just an idea...

regards,
bruno

PS: how to set a banner in a form:
http://discuss.orbeon.com/Orbeon-Form-Logo-Solved-td4656512.html

--
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/1583347421217-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Form Image being sent as attachment

Alessandro  Vernet
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