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
* Bulk update of Citation Entry Date
-
londonscorpion
- Diamond
- Posts: 66
- Joined: 19 Oct 2010 13:50
- Family Historian: V6.2
- 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
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.
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
- 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
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."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- 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
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."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."