* Search & Replace within a Named List

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
User avatar
RogerF
Famous
Posts: 182
Joined: 26 Apr 2009 16:32
Family Historian: V6.2
Location: Oxfordshire, England
Contact:

Search & Replace within a Named List

Post by RogerF » 20 Sep 2017 08:23

Is it possible to perform a Search and Replace, constrained to the records in a Named List?

If not, is there a Wish List item for this feature?
Roger Firth, using FH to research the FIRTHs of Lancashire and Yorkshire, and the residents of the market town where I live.

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Search & Replace within a Named List

Post by tatewise » 20 Sep 2017 10:04

Roger, are you thinking about the Edit > Find and Replace command or my Search and Replace Plugin?

I think that would be a useful feature for the Search and Replace Plugin that I could add quite easily.

One restriction is that the records in the Named List must all be the same type, and either match the Search Scope selection or be INDIvidual records.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
RogerF
Famous
Posts: 182
Joined: 26 Apr 2009 16:32
Family Historian: V6.2
Location: Oxfordshire, England
Contact:

Re: Search & Replace within a Named List

Post by RogerF » 20 Sep 2017 13:10

When I wrote, I was thinking about the native FH F&R, but your S&R plugin would be even better, being much more flexible. Many thanks.

When I read in the FH Help that a Named List can hold "a list of records that you wish to edit, grouped together for ease of access", I thought my problem was solved. But of course it's only a list grouped for convenient access; you can't tell FH to modify all of those records. However, since you can save the results of a query as a Named List, it seems a natural extension to be then able to perform a standard process on all of the selected records.

The restriction you mention doesn't sound like it would limit anything I'd like to do.
Roger Firth, using FH to research the FIRTHs of Lancashire and Yorkshire, and the residents of the market town where I live.

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Search & Replace within a Named List

Post by tatewise » 22 Sep 2017 11:54

Roger, please try the attached Search and Replace Plugin Version 2.7.3 Date 22 Sep 2017.

This adds a Select Records button to the Search Scope section with a status message below.

I've decided that when All Records & Events/Attributes is chosen the Select Records button is disabled as it would not be clear which records should be selected.

In all other cases the Select Records button allows records of the matching type to be selected.
They can be chosen from the record list, or the Named Lists tab, or the Add/Remove buttons at the bottom.
To return to using all records, click the Select Records button and choose Cancel.

The record selection is 'sticky' and remembered from one run of the Plugin to the next as a list of Record Id.
Thus search/replace options can be applied to repeated runs without needing to reselect the records.
But changing say the Named List contents will NOT change the Plugin selection until the Select Records button is used.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Search & Replace within a Named List

Post by tatewise » 02 Oct 2017 12:29

The Search and Replace Plugin Version 2.8 Date 02 Oct 2017 is now in the Plugin Store and the earlier attachment deleted.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply