Page 1 of 1
Merge repositories?
Posted: 06 Feb 2023 04:28
by fhtess65
Because I used (foolishly, it seems) the RM TreeShare feature for several years, I have many, many instances of Ancestry.com as a Repository. It's annoying. Can I safely merge them? Delete them? Or am I destined to have multiple copies forevermore?
Thanks.

- AncestryRepositoryRecords.jpg (331.13 KiB) Viewed 1718 times
Re: Merge repositories?
Posted: 06 Feb 2023 05:40
by BillH
You can select the ones that you want to merge and then use Edit > Merge/Compare Records to merge them. You can only merge two at a time.
Bill
Re: Merge repositories?
Posted: 06 Feb 2023 09:24
by Mark1834
Curious - are the duplicates identical in all fields, or is there a difference between them somewhere? Were they Ancestry sources that you attached to your tree in Ancestry, or could RM have created the duplicates either on creating the source or subsequently on TreeShare?
It doesn't affect how you fix it in FH, but it would be interesting to understand the root cause in case it happens again with somebody else.
Re: Merge repositories?
Posted: 06 Feb 2023 15:32
by fhtess65
I think it was the latter - part of the reason I gave up on TreeShare and RM, so many duplicates created each time I updated a person. Very frustrating.
From what I can see, they all just say Ancestry.com, just linked to different citations - that's what worries me, though, in the end I'm in the process of going through and redoing all my citations using AS or FH templates (for those entries not handled by AS). But how would I know for certain?
Mark1834 wrote: ↑06 Feb 2023 09:24
Curious - are the duplicates identical in all fields, or is there a difference between them somewhere? Were they Ancestry sources that you attached to your tree in Ancestry, or could RM have created the duplicates either on creating the source or subsequently on TreeShare?
It doesn't affect how you fix it in FH, but it would be interesting to understand the root cause in case it happens again with somebody else.
Re: Merge repositories?
Posted: 06 Feb 2023 15:32
by fhtess65
Thanks, Bill - I'd seen that and had hoped there might be a faster way.
BillH wrote: ↑06 Feb 2023 05:40
You can select the ones that you want to merge and then use Edit > Merge/Compare Records to merge them. You can only merge two at a time.
Bill
Re: Merge repositories?
Posted: 06 Feb 2023 16:02
by Mark1834
The easy way is to click on the plus signs next to the name to display all the sub-fields. The slightly more complicated way (but easier to get a full overview) is a Custom Query of type Repository, and add each of the sub-fields in turn using the Query Builder.
Re: Merge repositories?
Posted: 06 Feb 2023 20:23
by fhtess65
I tried that custom query, but got no workable results...I'm sure it's operator error, but those expressions just remind me of math class and I freeze. Just adding the fields got me nowhere
Teresa
Mark1834 wrote: ↑06 Feb 2023 16:02
The easy way is to click on the plus signs next to the name to display all the sub-fields. The slightly more complicated way (but easier to get a full overview) is a Custom Query of type Repository, and add each of the sub-fields in turn using the Query Builder.
Re: Merge repositories?
Posted: 06 Feb 2023 20:26
by tatewise
Or simply add each sub-field to a Column in the Repositories tab of the Records Window.
Just keep adding <Other...> and use the <<Insert Data Ref.. button to add each field.
Re: Merge repositories?
Posted: 07 Feb 2023 04:25
by fhtess65
Clearly what I tried earlier was wrong and now I'm going to sound dense - what subfields? This is what I get when I click Other and I've no idea what I'm to enter:

- Adsubfield.jpg (340.28 KiB) Viewed 1552 times
Thanks...
tatewise wrote: ↑06 Feb 2023 20:26
Or simply add each sub-field to a Column in the Repositories tab of the Records Window.
Just keep adding <Other...> and use the <<Insert Data Ref.. button to add each field.
Re: Merge repositories?
Posted: 07 Feb 2023 04:46
by BillH
Enter a column heading you would like to see, then click on "Insert Data Ref...", and then select the data you would like to appear in that column.
Bill
Re: Merge repositories?
Posted: 07 Feb 2023 11:27
by Mark1834
Teresa,
IMO, some of the advice here is getting unnecessarily complicated and missing the goal of what we are trying to do. Configuring the Records Window is one option, but that is not the best solution to this problem. All we want to do is create a listing of the actual Repository records themselves, and we are not interested in ancillary information such as how many sources are linked to each one.
By far the easier option is to create a new Custom Query of type Repository. Click on the Columns tab to display the following window:

- 1.png (20.99 KiB) Viewed 1511 times
Add the listed fields to the query one by one by clicking on the field name, then the right facing arrowhead at the bottom of the screenshot. You will end up with the window looking like this, with all the data references filled in automatically.

- 2.png (31.97 KiB) Viewed 1511 times
Finally, click on the blue run button to generate the results. Click on individual column headings to sort on that column to easily identify differences. If you want to, you can click on the Rows tab and insert a filter
Add if .. %REPO.NAME% matches Ancestry.com so it displays just the Ancestry repositories.
I suspect from your description of what you did and my general experience with TreeShare, all the Ancestry rows will be the same, but this will confirm that.
Re: Merge repositories?
Posted: 07 Feb 2023 15:22
by fhtess65
Thanks, Mark - and yes, the result was all rows the same, all saying just Ancestry.com. So I assume that this means if I take the time to merge them, it won't affect the sources attached to each different instance? From what I can see, it won't, but I'm always nervous about making wholesale changes of this nature. I do, of course, have multiple backups of my project, so that can always be restored.
Teresa
Mark1834 wrote: ↑07 Feb 2023 11:27
Teresa,
<SNIP> All we want to do is create a listing of the actual Repository records themselves, and we are not interested in ancillary information such as how many sources are linked to each one.
<SNIP>
I suspect from your description of what you did and my general experience with TreeShare, all the Ancestry rows will be the same, but this will confirm that.
Re: Merge repositories?
Posted: 07 Feb 2023 15:23
by fhtess65
Sorry, Bill - that still made no sense to me, but thanks for the advice. Maybe I'll figure it out at some point.
Teresa
BillH wrote: ↑07 Feb 2023 04:46
Enter a column heading you would like to see, then click on "Insert Data Ref...", and then select the data you would like to appear in that column.
Bill
Re: Merge repositories?
Posted: 07 Feb 2023 16:27
by Mark1834
Yes, they can be merged safely.
Re: Merge repositories?
Posted: 07 Feb 2023 16:52
by BillH
fhtess65 wrote: ↑07 Feb 2023 15:23
Sorry, Bill - that still made no sense to me, but thanks for the advice. Maybe I'll figure it out at some point.
Teresa
Teresa,
Let's say for instance that you wanted to add a column for the email address.
Click on "Other" to get the window in your screen shot. In the Heading box type in a what you want for the column heading, for example "Email". Then click on "Insert Data Ref..." and you get this window:

- image1.jpg (35.41 KiB) Viewed 1428 times
Select "Email" in the top pane and click on OK. This takes you back to the "Add column" window. Click on "Add". This takes you back to the "Configure Columns for..." window. Click on OK and the Email column is added to the Repositories tab with a column heading of "Email".
You can do this for any field in the list. You can expand the fields with a "+" sign to get subsidiary fields.
Hope that helps. Let me know if you still have questions.
Bill
Re: Merge repositories?
Posted: 08 Feb 2023 16:33
by fhtess65
Bill,
Thanks for the screenshot and step-by-step instructions. They really help. While I'm good with software, some of the techy talk (expressions, as I mentioned earlier, remind me too much of math) goes right over my head.
I'm bookmarking this topic so I can come back to it later. Really want to get this aspect of FH figured out.
Thanks again
BillH wrote: ↑07 Feb 2023 16:52
<SNIP>
Select "Email" in the top pane and click on OK. This takes you back to the "Add column" window. Click on "Add". This takes you back to the "Configure Columns for..." window. Click on OK and the Email column is added to the Repositories tab with a column heading of "Email".
You can do this for any field in the list. You can expand the fields with a "+" sign to get subsidiary fields.
Hope that helps. Let me know if you still have questions.
Bill