Solved

Insert Signature in Lotus Notes From a Button Instead of Automatically

Posted on 2009-05-05
6
2,660 Views
Last Modified: 2013-12-18
I want to create a button to insert the HTML signature from the calendar profile in a Notes 6.5 client.  We want to have a standard corporate HLML signature document but don't want it to be sent all the time.

Can anyone help?
0
Comment
Question by:jameswayit
  • 3
  • 2
6 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 24308832
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 24308854
0
 
LVL 2

Expert Comment

by:jitendrasachdeva
ID: 24310674
Hi,

You can use smart icon to insert meeting information or your signature. A good reference is here
http://www.ibm.com/developerworks/lotus/library/ls-mailsignaturesmarticon/index.html

Cheers !
Jiten
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:jameswayit
ID: 24314355
Thank you for all your ideas but I chose a much simpler way.  And for me, simple is the way to go.  

What I did was to copy & modify the Lotus Notes 'Insert Signature' action.  This allowed me to set it as a button on the MEMO form & I even put a .GIF of our corporate logo on it to make it stand out

Here is the code behind the button:

Sub Click(Source As Button)
      Call cMemoObject.InsertSignature(True)
End Sub

If you set the argument to False (default), Notes will pop-up a dialogue box allowing you to browse to the file or accept the one in the signature file.  I set it to true so that the signature file in the Calendar profile option is always chosen.  

I plan on making the changes to the iNotes mail file template, so it rolls out during the design refresh & sending a self-extracting .ZIP file out with everyones signature.htm created with MS Word.  All that the user will need to do is browse to the file in Tools-Preferences-Signature and make sure that the auto-insert flag is NOT set.  

This is the plan anyway.

Wade
0
 

Author Comment

by:jameswayit
ID: 24329759
The solution almost works there is just one small thing that causes an issue.  Clicking the button with this code behind it causes the HTML file to be inserted at the top of the BODY of the email.  When one uses the Lotus Notes way 'Tools\Insert signature'  the dialogue box pops-up but it senses where the cursor is and places the signature there.

Does anyone have an idea on how the Lotus Notes standard way is sensing the cursor location?  I called IBM support & there is no public documentation on this procedure as it is from the Notes core application.
0
 

Accepted Solution

by:
jameswayit earned 0 total points
ID: 24378768
Ok,  The button works but always inserts the signature at the top of the memo.  We didn't like this so I asked for help from a Notes developer.  He said I couldn't do it that way and quickly wrote me a script that would work properly.  Unfortunately I don't have his permission to post the code but he does work for DLI tools.  http://www.dlitools.com
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question