Send public link by email

淺唱寂寞╮ 提交于 2019-12-11 09:46:04

问题


i am facing a little problem with email template in Alfresco Share. I want to send document's public link to users when somthing is uploaded.

The question is: how to include public link of a shared document in email template? what freemarker data tag references the public link?


回答1:


In Share 4.2f under path

share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\head\ resources.get.html.ftl

you have constant Alfresco.constants.QUICKSHARE_URL built like

Alfresco.constants.QUICKSHARE_URL = "${config.scoped["Social"]["quickshare"].getChildValue("url")?replace("{context}", url.context)?js_string}";

Didn't use it, but I'll bet you can do it first! ;)



来源:https://stackoverflow.com/questions/24619473/send-public-link-by-email

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!