* How to update repository for multiple sources

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
Anthony_Pigott
Gold
Posts: 27
Joined: 19 Sep 2011 20:17
Family Historian: V6

How to update repository for multiple sources

Post by Anthony_Pigott » 10 Aug 2013 09:36

I recently acquired a gedcom file that I want to use as a basis for a new project. It has many sources already included but I wanted to mark all these as being from the original file before I checked them and added my own source information. One way that occurred to me was to create a repository that represented the original file and assign that to all the original sources. Is there an easy way of doing that other than setting the repository manually for each source?

Apologies if it's already covered here or is obvious.

Anthony

ID:7034
((Pigott, Field), (Lacey, Betts)), ((Codling, Peacock), (Sier, Wilson))

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

How to update repository for multiple sources

Post by Jane » 10 Aug 2013 09:53

If they don't have repositories already, you could do so with a simple plugin script.

Have you experimented with plugins at all?
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
tatewise
Megastar
Posts: 27086
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

How to update repository for multiple sources

Post by tatewise » 10 Aug 2013 13:50

An alternative method uses File > Merge/Compare File that allows a single Source Record identifying the GEDCOM to be automatic added to new Records (&/or fields) to have.

The technique is as follows:
1) Create your new Project from the whole GEDCOM.
2) Delete all the Source Records.
3) File > Merge/Compare File the same GEDCOM, which will only add the missing Source Records and their Citations.
4) At the end of the Merge there are a multitude of options that include adding an identifying Source Record to just new Source Records via their Note field.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Anthony_Pigott
Gold
Posts: 27
Joined: 19 Sep 2011 20:17
Family Historian: V6

How to update repository for multiple sources

Post by Anthony_Pigott » 11 Aug 2013 08:46

Many thanks to Jane and Mike. I tried Mike's suggestion first which worked fine, then 'bit the bullet' and, as Jane implied, wrote a simple plugin to create a repository record and then run through all the sources to link them to it.

I'd not tried writing plugins before. Having a computing background, the programmer in me always said 'do it, it'll be interesting', whereas the project manager in me said 'don't do anything complicated if there's a simple solution'.

I've left the results of both methods in the project for the moment. I think I'll end up keeping the repository information as that seems the nearest way to implement the 'source of a source' concept within the limitations of the data structure.

Thanks again,
((Pigott, Field), (Lacey, Betts)), ((Codling, Peacock), (Sier, Wilson))

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

How to update repository for multiple sources

Post by Jane » 11 Aug 2013 20:43

Well done, I find being able to quickly add/change data using plugins very handy. In my case the Programmer normally wins over the Project Manager.
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