I’m trying to create 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.
I’m trying to create a link to a file to put into an email
Share
You should just need to call
Globals.LinkClickand pass in"FileID=" + fileIdas the “link” (first parameter).