* Quick way to remove custom attributes

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
avatar
tgthomp
Platinum
Posts: 34
Joined: 22 Oct 2014 17:13
Family Historian: V6.2
Location: Canada

Quick way to remove custom attributes

Post by tgthomp » 06 Mar 2015 05:29

Hi

For the majority of the individuals in my FH, there are attibutes under the 'Name' fact called 'Given' and 'Surname'. I think these must have been created when I originally imported my gedcom from Ancestry, but I have ignored them as harmless. However as I clean up my family tree, is there a quick way to delete them en mass? Note that when I create new individuals in FH, these fields are not created by default.

I tried the find them using the 'Change any fact tag' plugin or Tools/Fact Types, but no luck.

Any help would be greatly appreciated.

Thanks

Giles

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

Re: Quick way to remove custom attributes

Post by Jane » 06 Mar 2015 08:31

The easy way is to write an Individual query to show the attributes you no longer require in a column, then on the result set select them all (click on the first and shift click on the last one and press the delete key.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

avatar
tgthomp
Platinum
Posts: 34
Joined: 22 Oct 2014 17:13
Family Historian: V6.2
Location: Canada

Re: Quick way to remove custom attributes

Post by tgthomp » 06 Mar 2015 13:53

Thanks Jane.

I'm not sure where to find the attribute fields for 'Surname' and 'Given' when creating the query filter. An example of how the these are displayed against an individual in the list window is:

Name: George /Barron/
Given: Barron
Surname: George

When I'm creating an individual query, I have tried filtering on Attribute, Fact label etc, but get no results. I also see that under the 'Name' field in the filter window there are fields called :Surname and :Given. I tried filtering using the these fields also, but no luck.

Any ideas?

Giles

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

Re: Quick way to remove custom attributes

Post by tatewise » 06 Mar 2015 14:23

Giles, with the Individual Query open select the Columns tab and use the Data Ref Assistant in the Fields pane on the left.

Under Individual - Name and below the :QUALIFIERS are the subfields Given and Surname you are looking for.

i.e. They are indented as listed in the Records Window as Individual then Name then Given & Surname.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
tgthomp
Platinum
Posts: 34
Joined: 22 Oct 2014 17:13
Family Historian: V6.2
Location: Canada

Re: Quick way to remove custom attributes

Post by tgthomp » 06 Mar 2015 20:49

Thanks Mike. I found the :Surname and :Given subfields and added them as columns to the query. However, when I try to remove them per Jane's post, it deletes the whole individual record.

Conversely, if I navigate to the Individual in the standard FH list view and expand the 'Name' hierarchy and then manually delete the two 'Given' and 'Surname' subfields and then go back to run the query, they still appear in the query view with values (for that same individual). This leads me to believe that they are not the same thing. Could they be custom fields that were created by FH when I imported my gedcom a few months ago, that also so happen to have the same name as the qualifiers?

If i have to manually run through each of the individuals in the standard list view, then I can do that, but was check to see if there was a quicker way to do this.

Cheers

Giles

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

Re: Quick way to remove custom attributes

Post by tatewise » 06 Mar 2015 21:44

Please be very careful to follow the instructions I gave.

You mention :Surname and :Given but no such items exist in FH.
Qualifiers have a colon (:) and are in capital letters.
Fields have no colon and are in mixed case.

Under Individual - Name ignore the :QUALIFIERS such as :SURNAME and :GIVEN and :SOUNDEX with a colon & in capitals.
Below them are the subfields Given and Surname without a colon & in mixed case that match exactly the fields you are looking for.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
tgthomp
Platinum
Posts: 34
Joined: 22 Oct 2014 17:13
Family Historian: V6.2
Location: Canada

Re: Quick way to remove custom attributes

Post by tgthomp » 06 Mar 2015 22:14

Sorry Mike! This was my mistake as I wasn't looking far enough down the list. Your and Jane's instructions work perfectly. Thanks again, both, for your help!

Post Reply