* Changing a source citation

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
avatar
gsward
Famous
Posts: 144
Joined: 11 Mar 2011 14:47
Family Historian: V7

Changing a source citation

Post by gsward » 11 Feb 2017 15:54

There is a useful plugin "Replace Selected Source Citations" for changing citations. However I only want to change the citation for a subset of all the citations for a particular source. The subset is based on the Fact type (e.g. Birth, Marriage, Death).

Is a small modification to the plugin possible to achieve this or is there another way, perhaps using a named list?

Thanks,

Graham

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

Re: Changing a source citation

Post by tatewise » 11 Feb 2017 17:02

That starts to get tricky, but could add a prompt for each potential change with a Yes/No option.
Then for the desired Facts you say Yes and the others you say No.
As long as there are not too many, it should be tolerable.

Could also add a Cancel option so when all desired changes completed the rest can be skipped.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
gsward
Famous
Posts: 144
Joined: 11 Mar 2011 14:47
Family Historian: V7

Re: Changing a source citation

Post by gsward » 11 Feb 2017 17:14

Checking each one is a viable option, particularly with the Cancel, that would get me there.

Thanks,

Graham

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

Re: Changing a source citation

Post by tatewise » 11 Feb 2017 17:50

OK, try this attachment.
Attachments
Replace Selected Source Citations.fh_lua
Version 1.2 Date 11 Feb 2017
(8.13 KiB) Downloaded 221 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: Changing a source citation

Post by DavidNewton » 12 Feb 2017 13:14

Not sure whether or not this is relevant here but I found out recently (I have no idea how long it has been available) that changing a single source link is available via the All tab of the property box.

Select the name of the source and right-click, one of the options is "Replace Link With.." a new source record or an existing source record.

Not as convenient as a plug-in but for the occasional single change is useful.

David

avatar
gsward
Famous
Posts: 144
Joined: 11 Mar 2011 14:47
Family Historian: V7

Re: Changing a source citation

Post by gsward » 12 Feb 2017 13:46

Thank you Mike. I am all sorted with this modified plugin.

Graham

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

Re: Changing a source citation

Post by tatewise » 12 Feb 2017 14:15

Yes David, that option exists for any linked record such as Source, Media, Note, Family, etc.
It can usually be performed perhaps with a few more clicks via the more conventional dialogues.
e.g. In the Sources For pane, a Citation can be deleted using the X Delete Citation button and replaced by using the + Add Citation button.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: Changing a source citation

Post by DavidNewton » 12 Feb 2017 17:43

tatewise wrote:e.g. In the Sources For pane, a Citation can be deleted using the X Delete Citation button and replaced by using the + Add Citation button.
True, but that also removes all the citation details doesn't it? Whereas switching the linked source in the All tab retains the citation details and only switches the linked source.

David

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

Re: Changing a source citation

Post by tatewise » 12 Feb 2017 18:50

Yes, good point.
Being a Method 1 'splitter' I rarely have anything in the Citation fields so overlooked that.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply