AnsweredAssumed Answered

sending document url using mail.parameters.text

Question asked by e-no91 on May 15, 2014
Latest reply on May 16, 2014 by e-no91
I wanted to send the document url via mail text on share javascript.

i) I've tried

mail.parameters.text =;


mail.parameters.text =;

both returns null.

ii) I tried copying the whole address based on folder name, such as

mail.parameters.text = companyhome.childByNamePath("Sites/test-script/documentLibrary/test.txt");

this returns server error..

iii) And when I tried

mail.parameters.text = document.url;

I get

but I cannot simply use this url.

I feel like I'm almost there, please tell me what I'm missing.

Thanks in advance!