Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8472993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:13:37+00:00 2026-06-10T17:13:37+00:00

In lotusscript I usually do the following to create a simple email which contains

  • 0

In lotusscript I usually do the following to create a simple email which contains a link that points to a notes database/view. Is there any way I can modify the link(appenddoclink) so that it opens an xpage? Say my xpage name is “Staff_Page”.

Dim maildoc As NotesDocument, rtitem As NotesRichTextItem
Set maildoc=New NotesDocument(db)
maildoc.subject="Email Address(s) For Your Approval"
Set rtitem=New NotesRichTextItem(maildoc, "Body")
Call rtitem.Appendtext("Dear John,")
Call rtitem.Addnewline(2)
Call rtitem.Appenddoclink(db, "", "Click to open the XPage.")           
Call maildoc.Send(False, "john@mail.com")

I’ve looked at the XPages URL Cheat Sheet but those are not lotusscript. I’m doing XPiNC with some lotusscript agent.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:13:39+00:00Added an answer on June 10, 2026 at 5:13 pm

    Easiest one is to specify in your Form properties “open xpage instead”
    Second option is to specify a URL link pointing to it with the href=notes://server/….
    You might be better off using mime mail (snippets for that on OpenNTF) since you have easier formatting options

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can we use a lotusscript function as a document selection routine inside view selection
I'm using COM in LotusScript (Lotus Notes) to make Excel print several sheets in
Are there any other IDEs worth my time for Lotus Notes development? We're doing
Trying to add a custom header item to a Lotus Notes email item, from
I have a remote RSS feed which has to be transformed into Notes documents
In one of the Lotus Notes application which requires connection with external SQL DB,
In a LotusScript agent I create a multi-part mail in MIME, using the MIME
We have Lotus Notes based application, which is accessed by several users. We communicate
I there a way in XPiNC (Per can you add that tag) to check
I am trying to write a LotusScript to control a motor. The script I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.