• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

Best option to link to a PDF

have a custom letter which is sent out to a user upon approval of a step. Right now an instructional PDF is on the doc, we are saving the approval notices and having this same doc in each letter is starting to flood our inbox. I want to have a link to the doc so it does not have to be embedded.

I have tried placing the doc on a page and setting up a hot spot link to the page, but although it works locally it is giving the error below when sent to the user. What is a good alternative here?

"Unable to display element, database does not contain design element"
0
jforget1
Asked:
jforget1
2 Solutions
 
brwwigginsCommented:
make sure you have the HTTP task running....then on your server place the PDF file in the domino\html folder underneath your data directory.

Then create a hyperlink to the file in the following format

http://servername.domain.com/<path relative to html directory>/filename.pdf
or if you just put it in the root of the html directory then
http://servername.domain.com/filename.pdf
0
 
SysExpertCommented:
Other options are to put it in any of he great Notes Document databases.

Plenty of Doc lirary templates on the Notes server.

Simply create the database, give read access to everyone, open a blank doc and put the PDF on it, and then save it and send out the doc link to that specific doc.

Will work for all Notes users, and no changes needed on the server.

I hope this helps !
0
 
cezarFCommented:
I agree with SysExpert. I had the same project in the past to link an image to a main document. I did it by storing the UNID of the doc with image in the main doc and created a button to open the image using the stored UNID.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jforget1Author Commented:
So there is no simple way to have it link to something within the same DB? I may go with posting it on our training website instead.
0
 
SysExpertCommented:
Sure, just put the PDF in any document and then save it, then use the copy doc as link option to copy the link to the email you are sending out.

I hope this helps !
0
 
jforget1Author Commented:
IIs it because I put this on page and not on a doc that it would not work?
0
 
qwaleteeCommented:
How did you create the link? It is probably referncing something like @Command([OpenPage]; "pdf page name").

That's fine when the button runs from inside the same database.  When run from a mail message, it is running form within the user mail database, not the source databas,e so it is looking for the page within the mail file.  For contrast, try @Command([OpenPage]; "NotesCalendarPicker"). That will properly open a calendar control in the user's mail file, and generate the error if run within your database.

How to overcome? You could add @Commands to open the target DB first and then close it, but that's kind of wasteful. You could link as a wbe page, in which case, you just n eed to use the fixed URL to the page.  Alternatively, to do this in Notes, attach it to a hidden document instead of a page, and send a link to the document.
0
 
jforget1Author Commented:
THink I will use the doclink to a hidden record method. Thanks for all the help.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now