Programmatically Create a Notes Access Point (URL)

Earlier versions of the Notes client automatically turned the submitted URL into a clickable link for the recipient (regardless of the email client), but as of 6.5 (and presumably later) this no longer happens; that is, the url is sent as plain text. The Notes interface allows you to do this through New, Hotspot> Hotspots, but it's tedious.

I am looking for a way to create Link Hotspot in LotusScript. My research to date leads me to believe that this is not possible, but there may be some kind of hack.

+1


source to share


2 answers


The automatic conversion of URLs to clickable links is user-preferred.

In 6.5 it is installed via file / Preferences / Preferences / User Basics. In 8 it is installed using Client / Prefences / Basic Notes Client Config.

I don't think you can create a url hotspot explicitly using lotusscript. You can create a doc link, but there is no obvious way to turn it into a URL link.

You can try the approach where the form is set up to render passthrough html on the client and then build the appropriate html for the link.

Update in response to comment.



The scenario is that we want to control what the user sees when they receive mail. We have several cases to think about.

  • The recipient uses Notes and receives mail directly by routing note notes.
  • The recipient goes online with any client and allows you to send email in an extended format.
  • The recipient goes online with any client and only allows plain text email.

In the first case, the user will see links if they have enabled the option to do so. You can also create flow-through html in rich text and which will be displayed on the Notes client if the form parameter is set in the design. If it's a direct email address and you don't need the other rich features of Notes, you can also create a MIME message.

In the next two cases, you just want to send properly formatted MIME messages. In the first of these cases, the user will accept rich formatting and so you can design the post as plain html and include links that way. In the second case, the user will not do this, and you will have to make plain text. Fortunately, most email clients automatically turn URLs received in text messages into links for you. It could be an option like in the Notes client.

It is best to also include a MIME section for plain text when submitting rich email content. This way, you don't have to worry about which version the user prefers.

+1


source


You need to cheat and create a MIME entry to get your links. While walking this route, you can also take the opportunity to make it look very beautiful. The example code is on this site



0


source







All Articles