Killer feature: database wide search & replace in Designer 8.5
Julian Buss, January 8th, 2009 10:54:41
Tags:  LotusNotes85 
Here is a killer feature why you should upgrade to Domino 8.5 Designer: database wide search & replace.
Choose Search -> Search... select a database or even a whole working set, give the search text and click "replace".
Then the one database or all the databases in your working set are being searched for that text, and in the result dialog you can click "preview" and get his:

Image:Killer feature: database wide search & replace in Designer 8.5

So, not only a simple search & replace, but you can even preview the changes. It that cool or what?

Tipp: you can specify "*.lss" in the search dialog to let Designer only search in LotusScript stuff.

Disclaimer: yes, I know, Eclipse developers are rolling on the floor, laughing when reading that we Domino developers see this feature as a sensation... but nevertheless, this shows moving Designer to Eclipse to have those kind of features is a huge improvement.
Comments (17) | Permanent Link

Kommentare:

1) Killer feature: database wide search & replace in Designer 8.5
Ulrich Krause 8.1.2009 11:23:02

Great find!!

2) Killer feature: database wide search & replace in Designer 8.5
Curt Carlson 8.1.2009 11:31:27

I wonder if this works for data as well as design elements?

3) Killer feature: database wide search & replace in Designer 8.5
Stephane Moser 8.1.2009 13:39:44

I wonder if it works without rebuild/recompile the lotusscript libraries and/or agents.

4) I wonder what Teamstudio’s response to this will be...
Michael Sobczak 8.1.2009 14:25:16

given that Configurator has been around for many years and does essentially the same thing.

5) Killer feature: database wide search & replace in Designer 8.5
Julian Buss 8.1.2009 14:37:47

I trust they are working on some really new stuff based on Eclipse, too. For example, Ciao needs - in my opinion - a complete overhaul in terms of usability.

So I hope that Teamstudio re-engineers their tools so that they are based on Eclipse too, so that they get a much better usability.

If they do that, we would buy more Teamstudio tools.

6) Killer feature: database wide search & replace in Designer 8.5
Julian Buss 8.1.2009 14:39:01

BTW: I did a quick test my replacing one class name with another in a database with 50 script libraries or so... it basically worked, but at some point Designer threw an exception.

7) Good luck with that
Nathan T. Freeman 8.1.2009 14:49:12

This process uses the DXL export/import process to perform the update. Which means you roll the dice on whether you'll lose design information when you do it until/unless DXL becomes fully round-trip supported.

It will probably generally work okay on Lotusscript libs. But it won't work reliably on views, forms or even agents, depending on the myriad of options you might have on those various elements. Some examples...

Embedded Editors will disappear from forms & pages processed by this technique.

View columns with the Editable flag turned on will have it turned off.

Agents with simple selection formulas will become corrupted.

That's a few examples off the top of my head. The list of possible errata is LOOOOOOONG.

Again, script libs probably won't be too big a deal. But if you use this approach for form or view contents, you're probably going to wreck your template if it's not specifically designed to be DXL processed.

8) Killer feature: database wide search & replace in Designer 8.5
Julian Buss 8.1.2009 15:01:56

Nathan,

yes, personally I would never try this on forms or views or stuff like that. For me, this is important for script and java libraries.

So, here we have one more motivation for IBM to make DXL fully supported :-)

9) Killer feature: database wide search & replace in Designer 8.5
Alan Lepofsky 8.1.2009 15:04:30

I've added this feature to the list of new thins in 8.5 in this FAQ { Link } Its a wiki, so please update it as you find new items.

10) Killer feature: database wide search & replace in Designer 8.5
Karsten Lehmann 8.1.2009 15:11:40

Notes should support more than just renaming classes and variables. We would need refactoring features like they already exist for Java in Eclipse, e.g. moving classes/methods between script libraries and update the USE-clauses and add method parameters to a method's signature would be cool.

11) Killer feature: database wide search & replace in Designer 8.5
Julian Buss 8.1.2009 15:27:00

Karsten,

IBM is aware of that :-)

And now, since Designer is on Eclipse, it's the first time all those things are even possible.

But before that, the world is waiting for the new Java and LotusScript editors based on Eclipse :-)

12) Killer feature: database wide search & replace in Designer 8.5
Andrejus Chaliapinas 8.1.2009 22:06:42

Yes, best things from WSAD (WebSphere Application Developer) as well as later RAD (Rational Application Developer) and Eclipse as their ground are moving slowly into Lotus space. I think I was using this functionality already in early days of WSAD 5 in 2004 for my Java code.

These days I only wonder why just Domino JSP tag library was available at that time and not bunch of NotesPeek-like Eclipse plugins to do the same functionality as this one described.

13) Killer feature: database wide search & replace in Designer 8.5
Maureen Leland 9.1.2009 0:23:58

you can also select specific design elements (like 3 agents, or all agents, or all agents and all script libs), choose selected resources in the dialog, and it will search just those.

14) Killer feature: database wide search & replace in Designer 8.5
Richard Schwartz 9.1.2009 5:25:38

@7: Does it pop up any warning to back up designs before use? If not, it's not a feature IMHO. It's a priority 1 bug that causes data loss.

15) Killer feature: database wide search & replace in Designer 8.5
Andrejus Chaliapinas 9.1.2009 8:27:47

@14: When I hear DXL - I always think about something unfinished again and again. It took me several months (please count cost of that yourself) of work (with at least 3 different PMRs opened) to just get fixed one small issue in <par>/<pardef> elements correct handling in DXL output. Finally it was done for Lotus Notes 7.0.2 and our Notes2PDF Converter product (based on DXL export functionality) was able to work the way it was supposed to do from the beginning without any crazy workaround required for earlier versions.

IBM: How long we could wait for that fully working DXL export/roundtripping? Version 9.0/10.0 and year 2015? You may remember that we've asked you to provide base64 encoded binary CD records as part of DXL XML if you cannot handle XML export/import of different elements in reasonable/reliable way.

It sounds like a toy I could play with only one very restricted way, cause in other case I have very high probability to break it.

16) Killer feature: database wide search & replace in Designer 8.5
John Kingsley 12.1.2009 19:58:36

@4 - the global search and replace is a feature that other development environments have had for years. Likewise, other environments have had source code control and difference-between-files type tools for a long time. The difference is the Teamstudio tools understand Notes design elements, without having to export to XML. As Nathan pointed out, there are some issues with the Eclipse tool that can cause problems when used with standard Notes design elements. But for style sheets and Java, it's fabulous.

17) Killer feature: database wide search & replace in Designer 8.5
Mark Demicoli 21.7.2009 6:56:20

There is definitely one unique thing about the Lotus development platform. We are consistently sent to the front line with prototype weaponry and told to work it out in the field. Developer beware!

At the same time, Notes/Domino major releases have generally been rather ambitious (think full backward compatibility, upgrades a monkey could perform etc).

Notes is for special people.

 Erstellen Sie einen Kommentar
Thema:
   
Name:
E-mail:
Web:
 
Kommentar:  (Kein HTML - URLs bitte mit führendem http:// angeben)
 
Angaben merken?    
Über diese Seite
Das YouAtNotes Blog ist ein Webtagebuch der Mitarbeiter von YouAtNotes. Hier möchten wir ihnen direkt aus dem Alltag eines Softwarehauses berichten.
Wir freuen uns über Ihre Kommentare und wünschen Ihnen anregende und unterhaltsame Lektüre.

Impressum

Blog of Julian Buss

Suche
RSS-Feeds
rssfeed.pngContent Feed
rssfeed.pngComment Feed
Aktuelle Einträge
Aktuelle Kommentare
Links zu YouAtNotes
Links zu YouAtNotes (in englisch)
Archiv