Tip

Signature Files

What do you do when your users want a signature file in R4 and the personal stationary is not deemed a satisfactory solution?

Like many former Outlook users, our employees wanted a signature to appear automatically each time they sent an E-mail. I devised a plan to allow them to choose, if they wish, to have a signature and then a way to add and edit their signature.

First, I created an entry in the Calendar Profile called Mail processing options, listed under the Advanced Calendar options (renamed Advanced Mail and Calendar options) and added a field called "AddSig".

Second, I created a form and a view, both called Signature, that creates a field for the DocUNID.

Third, I created a text field on the Memo and Reply forms called "Footer" with this code to retrieve the signature.

Fourth, I added code to the Body field:

This gives the users a chance to see their signature before they send E-mail. This works well, except for "Reply with History", because the signature is always added to the bottom of the Body field.

My next step is to create a separate Mail profile for each user. A separate Mail profile would allow me to add many more mail features. So far, all of my mail options are stuck in the Calendar Profile.


"@If(@IsError(@GetDocField(@DbColumn("":"NoCache";"";"Signature";1);"Footer"))=1;"";@GetDocField(@DbColumn("":"NoCache";"";"Signature";1);"Footer"))

Body code:
@If(@GetProfileField("CalendarProfile";"AddSig") = "Yes";Footer;"")

This was first published in August 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.