Page 1 of 1

Search & Replace within a Named List

Posted: 20 Sep 2017 08:23
by RogerF
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?

Re: Search & Replace within a Named List

Posted: 20 Sep 2017 10:04
by tatewise
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.

Re: Search & Replace within a Named List

Posted: 20 Sep 2017 13:10
by RogerF
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.

Re: Search & Replace within a Named List

Posted: 22 Sep 2017 11:54
by tatewise
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.

Re: Search & Replace within a Named List

Posted: 02 Oct 2017 12:29
by tatewise
The Search and Replace Plugin Version 2.8 Date 02 Oct 2017 is now in the Plugin Store and the earlier attachment deleted.