URL Address Too Long

I have tried to include the follow url to the @mailsend formula. But when receiver open the mail the url shown in 2 lines (it’s too long) and the link doesn’t work.

@mailsend formula :

@MailSend(“tcchee@yahoo.com”; “”; “”; “Leave Application.”; “Dear sir / madam, " + “There is a Leave Application for “+Applicant + “, start from " +Start +” to " + End +”.” + " Please click to open the application form”+@NewLine+"http://192.168.0.2/ECLeave.nsf/($AllLeave)“+@Text(@DocumentUniqueID)”+“?OpenForm”; “”);

The url become like this :

http://192.168.0.2

/ECLeave.nsf/($AllLeave)9EA32FB86FC4A5C148256EC6000E3497?OpenForm

So, what should i do to avoid this problem.

Subject: URL Address Too Long

Try to make it short.

New document:

http://192.168.0.2/ECLeave.nsf/Myformname

Open existing document

http://192.168.0.2/ECLeave.nsf/0/documentid

-example-

http://192.168.0.2/ECLeave.nsf/0/9EA32FB86FC4A5C148256EC6000E3497

?Openform is always optional.

Unless you need to reference a specific View, you can use “0” as the view’s name.

Subject: URL Address Too Long

It is not too long as a URL but too long to fit on the screen probably.

Try sending the URL as a HTML Anchor and see if this helps.

Subject: URL Address Too Long

  1. Where’s the “/” after “($AllLeave)”?

  2. You have confused the concepts of form and document. What you are trying to open is a document, not a form, so your use of ?OpenForm is incorrect. Either remove ?OpenForm from the url altogether, or replace it with ?OpenDocument. (Removing it will, of course, shorten the url slightly, but doubtless not enough to solve your problem.)

  3. The traditional solution to the over-long url problem is to treat it as a problem with the receiving client which you can’t control, so you simply add text to your message which tells the reader that if their mail client splits the link across multiple lines, then they’ll need to manually reconstitute the url and paste it into their browser’s address bar.

  4. They only clean way I know of to handle the problem on the Notes side is to simply create a different view which sorts the documents by a shorter key. (Or you could always manually enter every single document into tinyurl.com’s database.)