cancel
Showing results for 
Search instead for 
Did you mean: 

How to return a file's URL in the email

erickmonteiro
Champ in-the-making
Champ in-the-making
I want create a function to return a file"s URL in the email. For example, i send a email direct on the file location and the and the person who received can access this location. Is it possible? Thank you.
1 REPLY 1

sujaypillai
Confirmed Champ
Confirmed Champ
You may use the below FTL directives directly in email template:
${document.url}
${document.shareUrl}

You may also form the URL by using below properties of the document:

${document.storeId}
${document.id}
${document.siteShortName}

and form the URL as :

http://[youralfrescoserver]/share/page/site/${document.siteShortName}/document-details?nodeRef=workspace://${document.storeId}/${document.id}