Head in a blender

How to add a widget that references a web site for lookup

Andrew M Pedisich  June 17 2008 07:00:00 AM
I'm out in San Fran doing one of The View's ND8 Upgrade Seminars with Chris Miller.  One of the attendees asked if I would write out the steps to add a widget that does a lookup.  So here goes.  This is a only a single example that works pretty well.  I am certain that there are many more.  I'm going out on a limb here as I don't really know if this will work for everyone.  This is using the Notes 8.0.1 client.

First, select a website that you want to use to look stuff up.  In this case I am using the Securities and Exchange Commission's EDGAR Company Search that deals with recent company filings.  Ostensibly in a "real life" scenario, this could be because I'm a portfolio manager who get lots of reports and email about various corporations and I'd like to look up filing dates with the SEC.  Here is the website I am interested in:

http://www.sec.gov/edgar/searchedgar/companysearch.html

First, set you preferences to recognize live text.

Image:How to add a widget that references a web site for lookup

Recognized, Live Text will then appear with green underlines as below.
Image:How to add a widget that references a web site for lookup

Then, follow these steps.  Select the Getting Started with Widgets icon from the top of the screen.

Image:How to add a widget that references a web site for lookup

This is a small part of the screen you'll see.  Select Web Page.

Image:How to add a widget that references a web site for lookup

Click Next.  Fill in the website as shown below.

Image:How to add a widget that references a web site for lookup

Click Next.  On the Configure a Component from this website, select From a Form on this web page.

Image:How to add a widget that references a web site for lookup

The form only has one page.  You can select form #1.
Image:How to add a widget that references a web site for lookup



From the Configure a Component dialogue, fill out the form as below.

Image:How to add a widget that references a web site for lookup
Next, you'll need to edit the widget you just placed there so it works with selected text.  Right click the new widget and use the Configure a New Action.

Image:How to add a widget that references a web site for lookup

Tell it to use Recognized Content so it will be able to use Live Text.  Let it open in a new window.

Image:How to add a widget that references a web site for lookup

I think you're done.  ;-)

Find some company names in Notes documents.  They should be underlined. Right click them and this should appear.

Image:How to add a widget that references a web site for lookup

You should come up with search on whatever company you've selected. Or you might accidentally open your neighbor's garage door.

Disclaimers.

Not a flying toy.
Some assembly required.
Your milege may differ.

- Andy
Comments

1rob axelrod  6/18/2008 1:21:56 PM  Even more fun with a recognizer!

I've been playing around with the recognizers today. You could set your action to look for recognized text that is set up to identify company names.

Here are two great urls that help out with this:

Blog entry that describes how to set up recognizers:

{ http://chris.brandlehner.at/Brandlehner/cab_blog.nsf/d6plinks/CBRR-7C5EP8 }

Here is a great library of regular expressions that you can use to build recognizers!

{ http://regexlib.com/ }

Enjoy!!!

"Test"