开发者

Generate URL from FileId in DotNetNuke

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜