* Adding Custom Field to Fact Type

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
WeefordHoldcroft's
Gold
Posts: 23
Joined: 17 Apr 2015 17:42
Family Historian: V6

Adding Custom Field to Fact Type

Post by WeefordHoldcroft's » 29 Jul 2016 09:34

I have set up a fact type to record Trade Directory Information However in the list of fields I can add I cannot seem to add a Occupation field. This would be very useful as Trade Directories ie Whites have both address and occupation. Does anyone have a solution to this?

Many Thanks

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

Re: Adding Custom Field to Fact Type

Post by tatewise » 29 Jul 2016 10:34

Facts (like many things in FH) are restricted to the Gedcom Standard.

Have you created the Trade Directory fact as an Event or an Attribute?
An Attribute has all the Event fields of Date, Age, Place, Address, Note, etc, but also has a Value which is shown against its label on the Facts tab of the Property Box.
c.f. Education, Occupation, Possessions, Religion.

If you have defined it as an Event and want to change to an Attribute then you will also have to manage any Trade Directory facts you have already entered. If only a few, then delete them, delete the Event Fact Type, create Attribute Fact Type, and re-enter the data. If you have a large number of Trade Directory facts, then ask for advice about how to migrate them automatically.

If it is an Attribute already, then a popular way of adding meta-data such as Occupation is to use labelled Note text.
In the Note field add entries such as:
Directory: Whites
Occupation: Butcher
These can easily be handled using the =GetLabelledText(...) function.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

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

Re: Adding Custom Field to Fact Type

Post by Jane » 29 Jul 2016 15:57

Personally when entering Trade directory entries, they typically generate a couple of facts, one for the occupation and one for a Residence or business address with a source to the actual directory, but you can select your preferred method.
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