We’re always eager to hear how customers are using our software. Oftentimes folks surprise us with novel and creative uses we never would have thought of ourselves. But every so often, we hear from people who are so busy they haven’t had the chance to explore anything beyond the most immediate, hit-you-over-the-head noticeable aspects of the software (e.g. the Conflict Solver). This is truly a shame because the ‘just below the surface’ features are some of the biggest time-savers (note the cruel irony).
So when it comes to easily missed features, look no further than our scanEZ tool’s ability to Diff and mass-modify groups of documents in Lotus Notes databases. Hardcore scanEZ aficionados are already well aware of how its Diff’ing and mass-editing functionality helps avoid a lot of agonizing work (particularly use-once-and-throw-away agents and views). But if you haven’t had time to check it out, here’s how it works:
First, you need to have a Notes database open in scanEZ (you can select a database in your Notes Workspace and then click the scanEZ icon on the toolbar).
Customized or pre-made document selections
Next you need to gather some sort of collection of documents to work on. scanEZ automatically categorizes documents by their form name, so you could either select one of these pre-existing categories based on the form or highlight the entire Documents category in the Selection Tree to work on all documents in the database.
But beyond that there are a number of different ways to build your own custom collection of docs to work on, including:
- Selecting documents in a view in your Lotus Notes client and then clicking Actions>Open Selected Documents in scanEZ
- Using the various search options in scanEZ’s Search menu
- Using the checkboxes in scanEZ’s Selection Tree to make a selection, then clicking Checkbox Selection>Add to New ‘My Selection’
No matter which method you choose, your document selections will be placed in a sort of virtual folder that we call a ‘My Selection‘ (you can re-name My Selections via the right-click menu).
For the sake of this demo, I’ll just tick the checkboxes for the ‘MyDoc’ and ‘MyResp’ categories in this database and click Checkbox Selection>Add to New My Selection. (Tip: I could have gathered the same ‘My Selection’ by performing a Search by Formula with the query: form=’MyDoc’|form=’MyResp’).
Once you have a My Selection that contains the documents that you’d like to work on, you simply highlight it in the tree to reveal scanEZ’s Diff Panel.
Differencing your docs
From here we can click the Diff button to perform a scan that will give us a quick picture of the similarities and differences between of the fields in all the documents in our virtual folder collection:
So now we can see what’s going on with these docs on a very basic level–that is, which fields exist in all the docs; which fields are the same throughout; and which fields have different values across the doc collection.
Here we can select one-or-more fields (Ctrl+Click) then click the Values button to take a closer look; this will show us the field values for all of the selected documents.
(Note: When you click the Values button, you’ll be prompted to choose between the Grouping Grid or a Basic Grid. The Grouping Grid offers extensive grouping and filtering options but requires more resources, the Basic Grid option dispenses with some of the bells-and-whistles but uses less memory, which makes it handy for huge document collections. For this post, I’ll be using the Grouping Grid).
Mass-editing fields part one: the test run
Now say we see something we want to change–for example, the fact that some of the ”Subject’ fields’ values are in all uppercase text…
Let’s do a little test to see what applying a formula to this field would do:
Click Add Column to add a customized temporary column…
The Add Custom Column dialog should appear; Choose the Formula radio button then click Edit…
Here we can edit a formula, like:
…then click OK.
Now we click the Evaluate button…
…and here we can see what would happen if we applied this formula to this field in our collection of docs:
Everything looks OK, so let’s close the Column Values grid and perform the change for real.
Mass-editing fields part two: making it count
Now we should be back in the Diff panel.
Make sure the ”Subject’ field is still selected and click the Modify button…
… and in the resulting Modify Item dialog, click the ‘Set Value Using Formula’ tab and once again enter:
…and then click Apply.
Done! scanEZ will display this confirmation dialog to let us know what changed:
I’ll believe when I see it
But just to prove to the skeptics among us that this operation worked, we’ll select the ‘Subject’ field and click the Values button once more to see the field value for all the documents in our collection:
Looks good… so that’s all there is to it.
In this tutorial we used a very simple formula to solve a trivial issue for this tutorial, but there are myriad real world applications for Diff’ing and Mass-editing Lotus Notes documents. In fact, you could apply bewilderingly long and complex formulas across multiple items if the need arose—and because scanEZ runs independently of Lotus Notes/Domino Designer, it will never tie up your Notes session even if it’s engaged in a Herculean NSF data manipulation task.
So if you use scanEZ, we urge you to take the time to experiment with the Diff panel and the Values grid because once you understand them, these features will absolutely, positively save you time.
The following Help pages further explain the scanEZ features mentioned in this article:
1 Comment// Begin Trackbacks ?>
- Tweets that mention How to compare, contrast and edit Lotus Notes document field values with scanEZ | Ytria Tech Lab -- Topsy.com