Learn how to a build a cloud-first strategyRegister Now


Lotusscript to setup HTML Signature File

Posted on 2011-10-27
Medium Priority
Last Modified: 2013-12-18
I have simple HTA program that creates a html signature file and stores it to the user's home drive. I want to be able to send an email out with a button that will set this file as their signature. For every user it will be the same path (H:\Signature\Signature.htm). I believe this needs to be done using the user's profile document in there maildb, but I wasn't sure if it is possible to do so.

Thanks in advance.

Question by:ajl7519
LVL 19

Expert Comment

ID: 37043391
I suggest to change the mail template to include this signature. No need to write Lotus Script for this. Once you did the change to the mail template, you can make use of the mail template to refresh the copies. You can try in test environment and see how it works.

Let's wait for other experts comments.

LVL 13

Expert Comment

ID: 37043597
It's been quite a while since I've done anything like that (R5), but I'm quite sure that the signature was stored in a profile document.
By looking into the available profiles and their fields, you may want to experiment on the fields EnableSignature, SignatureOption and Signature_Rich on the CalendarProfile (i.e. a profile docment!).

Author Comment

ID: 37044551
Unfortunately, I cannot change the template. I found the options in the CalendarProfile, just need to figure out the code on the button to set it up.
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!

LVL 22

Accepted Solution

Bill-Hanson earned 2000 total points
ID: 37045125
I'm not sure what version you're on (the field names changed starting with R8), but here's the code that you would use for 8.5...
@SetProfileField("CalendarProfile"; "EnableSignature"; "1");
@SetProfileField("CalendarProfile"; "SignatureOption"; "2");
@SetProfileField("CalendarProfile"; "Signature_2"; "H:\\Signature\\Signature.htm");

Open in new window


Author Comment

ID: 37045728
Thanks Bill. We have 8.0.1 - Let me try that out. I didn't think to do Formula language. I have been so used to using LotusScript for everything.

Author Comment

ID: 37045757
That worked perfect Bill. Thanks!
LVL 22

Expert Comment

ID: 37045879
No problem.

LotusScript would have been more efficient, but I wasn't sure if you had rights to run LotusScript on your user's clients.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

810 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