Expand my Community achievements bar.

SOLVED

can i modify the filename when using the email function in js??

Avatar

Level 4

Hi again,

 

trying to figure out if its possible to change the filename of the file being attached as an email when using the following function?

event.target.submitForm({cURL: cEmailURL,cSubmitAs:"PDF",cCharSet:"utf-8"});

 

Im not getting anywhere with the "documentFileName" function, i can get the name but i cant change it. So using that email event, could i change the name to a field value instead??

 

Just wondering if thats possible at all. 

 

thx

 

Patrick

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 10

It's not possible. The attachment get's named by the form. To change the name, you'll hat to save the form with the desired one first. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

It's not possible. The attachment get's named by the form. To change the name, you'll hat to save the form with the desired one first. 

Avatar

Level 4

super!!

 

Thx for letting me know. thx for the help yet again