sfbrown-hcso.tampa.fl
-
10/20/2010 3:42:20 PM
Links to document attachments
We are creating a significant internal site where all of the documents will be stored under one folder structure. All other pages that need to use those documents will link to those documents.
On those different pages (quite a lot) there will be editable regions where it is expected that users will link to the documents. In other words, a user will want a clickable link for a health claim form or for a list of procedures on bomb threats.
The problem I am having is this... On the editable web part if you choose to link to the document in the tree structure, the link is to the document and not the attachment of that document (e.g. pdf, doc, xsl) which is what I actually want to display. So, if you click the link it takes you to the document page rather than downloading the attachment of that document.
I know how to use GetAttachment with the Guid but I can't expect end users to do the same. Is there a simple way to set this up? So that an end user can link to a document and actually get a link to the attachment? We are going to have thousands of documents and dozens of end users so this needs to be as simple as possible for the user.
Additional info... There will only be one attachment per document.
|