Search DominoPower's 11,420 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
PROGRAMMING POWER
Adding templates to the automated signature generator
By Mick Moignard

This is the second part in our "Building an automated signature generator application" series. If you haven't read Part I, all about the user experience, you'll find a link at the end of this article. In this week's installment, we'll learn how to add templates to the system.

What the Administrator can do
The Administrator's job is to maintain the templates and the site documents. This isn't a Notes administrator job, but more a departmental admin job, though, as you will see, the signature templates do require some thought, particularly the HTML ones.

There's no reason why this cannot be done by anyone with the relevant skills and knowledge. As we'll see later, to make someone an Administrator, all you need to do is make them an Editor in the ACL.

Site documents are easy; standard Notes forms that you fill in. Figure A shows one open in edit mode.

FIGURE A


As an admin, you can go ahead and define the various sites of your organization. Roll over picture for a larger image.

You can see that there are a couple of title fields, and then there are fields to describe a couple of http links, each with a main URL and a secondary one, and an ALT tag.

The idea is that in the signature itself you can display a logo, which is sourced from the logo URL, and when clicked it goes to the main URL, and also has an ALT tag for completeness. There are actually two sets of these, and you can see how they are filled in for my company (Unipart Group) and my business unit (UALS). The template I use for my current signature doesn't actually use them.

You should also note that there are site address fields, and also map locator fields, postcode/zip code, country, town and street. These can be used ultimately as plug-in values to a map locator URL, if that makes sense for you.

Note that all of this is optional. You can have as few or as many sites as you need, and you will enter what is relevant to each one. All that they are used for is to populate fields in the signature block when the user clicks the "Click to get your site details" link at the top of the screen. Saves a user from typing your company URLs and getting them wrong.

Then there are templates. We'll look at a text one first, because it's easier to explain the basic principles. Figure B shows a text template in edit mode. You give each template a descriptive name, and then get creative with the block itself.

FIGURE B


Now, you can start creating dynamic signature templates. Roll over picture for a larger image.

The one you can see shows the fixed text in black, and placeholders for replaceable items in red. This is done using a rich text field, so that I can display the placeholders in a different colour to the static text, but don't get too excited here. Notes itself uses a plain text field to store the text signature, so there is little point in getting fancy. In fact, no point at all, because in this application, we also render the text signatures in plain text.


1  ·  2  ·  Next »
Other articles you might like
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
Latest Lotus Headlines
New Notes/Domino Technotes published about Chile's extended daylight saving time
SnnT: How to prevent Google from listing your Sametime Server
How to send someone an email that shows your calendar availability
"The collection has become invalid"
More XPages onclick event weirdness...
Domino 8.5.1 Fix Pack 1 Interim Fix 1 (8.5.1 FP1 IF1) - DAOS Fixes
Domino Designer 8.5 Tip: Where Working Sets Are Stored
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Make Mafia Wars an offer it can't refuse
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Removing an Office installation that doesn't want to go away
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login