Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Insert Signature in Lotus Notes From a Button Instead of Automatically

Posted on 2009-05-05
6
Medium Priority
?
2,799 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 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
Independent Software Vendors: 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

916 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