Solved

Insert Signature in Lotus Notes From a Button Instead of Automatically

Posted on 2009-05-05
6
2,705 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
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
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!

 

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

624 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