开发者

Generate URL from FileId in DotNetNuke

开发者 https://www.devze.com 2023-03-30 07:16 出处:网络
I\'m trying to crea开发者_C百科te a link to a file to put into an email when a user completes their upload. How do you do this in DotNetNuke? The file is saved correctly and I have all the file inform

I'm trying to crea开发者_C百科te a link to a file to put into an email when a user completes their upload. How do you do this in DotNetNuke? The file is saved correctly and I have all the file information but I cannot find a way to generate a link to any file that I could share in an email or post elsewhere online. I looked at LinkClick as used in the Documents module but that didn't lead anywhere.


You should just need to call Globals.LinkClick and pass in "FileID=" + fileId as the "link" (first parameter).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号