* Bulk update of Citation Entry Date

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
londonscorpion
Diamond
Posts: 66
Joined: 19 Oct 2010 13:50
Family Historian: V6.2

Bulk update of Citation Entry Date

Post by londonscorpion » 30 Mar 2014 12:34

I am using V5, and I have used the plugin "Add Assessment to Citations for a Source" which works very well.

Can I use this as a template so that I can set the "Entry Date" for all instances of a particular citation. I am not very familiar with programming but if the changes are small I can probably handle it.

Can anyone help

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

Re: Bulk update of Citation Entry Date

Post by tatewise » 30 Mar 2014 13:04

As an aside to the author Jane: There appears to be a small error on line 40, where if (ret == 0) then should be if not ret then.

Using the Plugin as a template is good thinking but may prove more difficult than you realise, especially if unfamiliar with programming.

The snag is that whereas Assessment is a fairly simple field with only 5 alternatives, Entry Date is more complex and involves Date Object structures, that are more difficult to use and need a more complex user dialogue to allow all Date formats to be entered.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Bulk update of Citation Entry Date

Post by Jane » 31 Mar 2014 06:26

I'll have a look at adding the entry date field to the plugin, but it might not be for a couple of days.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Bulk update of Citation Entry Date

Post by Jane » 31 Mar 2014 10:29

Add Assessment to Citations for a Source.fh_lua
(6.87 KiB) Downloaded 195 times
I think this will do what you are looking for. If it tests OK I will update the plugin store.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

Post Reply