Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Can i add a link to file within javascript ?

Avatar

Avatar
Validate 1
Level 2
patrickpai
Level 2

Likes

3 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
patrickpai
Level 2

Likes

3 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
patrickpai
Level 2

18-03-2021

Hi again,

 

quick question, im building a submit email/PDF button here and again works great, and it looks a bit like this:

 

var cBody = "Please provide your response by completing the Accommodation Review and Agreement Form";

// Build the email URL
var cEmailURL = "mailto:" + cToAddr + "?cc=" + cCCAddr + "&subject=" + cSubLine + "&body=" + cBody;

// Function that actually sends data
event.target.submitForm({cURL: cEmailURL,cSubmitAs:"PDF",cCharSet:"utf-8"});

 

Now, question, in the cBody variable, is it possible to include a link to another PDF? so that when the email is fired-up, and pops onto the screen, i can see that link within the body message of that email.

i was thinking, maybe an Href function, but not sure how the syntax might even work.

 

Thx again

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Rohit_Utreja
Level 4

18-03-2021

Answers (0)