HTML form submit button to open email app and attach pdf

Avatar

Avatar
Boost 1
Level 1
abhilashy577678
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
abhilashy577678
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
abhilashy577678
Level 1

21-09-2020

Hi Experts,

Functinality - I have a submit button in form which triggers email app and by attaching PDF and subject line and add content in body of email is drafted. The code for the above fuction is written in the javascript area of XDP form, by below code -

doc.mailDoc(bUI:false, cTo: toaddvar, cSubject: subvar, cmsg: msgvar);

 

The above function is working well when the submit button is used from PDF form , BUT not working in when opened the form as HTML in browser. Can you please help me in modifying the code which is supported in HTML form submit button for the same functionality.?

 

Thanks in advance. Let me know if needed more details.

Abhilash

@_LiveCycle @Mayank_Gandhi 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

21-09-2020

If you have rendered the xdp in html format and the functionality is not working then it is also the expected behavior 

The documentation lists the supported events when you render xdp in html format

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

21-09-2020

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

172 likes

Total Posts

241 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

21-09-2020

I think it is the correct behavior 

when you open the pdf in the browser you are opening it in the browsers pdf viewer which is not the same as adobe reader or Acrobat