* Custom Fact Label Naming

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
Roberto
Gold
Posts: 22
Joined: 30 Sep 2021 06:50
Family Historian: V7
Location: Adelaide, South Australia

Custom Fact Label Naming

Post by Roberto » 15 Feb 2023 00:02

Can anyone please tell me where to find Fact label naming conventions / rules? I haven't had any luck yet.

The few Custom facts that I have created all end up with descriptions in the Property Box of "<label> in <place>". What I am trying to achieve is descriptions of "<label> to <place>" or "<label> from <place>" as per the standard Emigration and Immigration facts. The sentence structures are fine but my focus is the readability of facts in the Fact tab of the Property Box

I am cleaning up my overuse of Emigration and Immigration facts, many of which are really movements of people in the eighteenth and nineteenth centuries between locations on the west and east coast of Australia before they decide on long term settlement . Once a person has made their first arrival, i.e. Immigration, I only plan to have a single fact for the other trips either "Travelled To" or "Travelled From" for each subsequent trip with only a single place in the Custom fact. (This is not to reopen any discussion on the use of Emigration and Immigration facts as they are covered elsewhere.)

Cheers,
Robert

User avatar
LornaCraig
Megastar
Posts: 2989
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Custom Fact Label Naming

Post by LornaCraig » 15 Feb 2023 00:44

In Tools > Fact Types select the fact and click Edit. Then click the Advanced... button at the bottom of the Fact Definiton window. You can then choose your own format for the Summary Template in the Facts tab listing and/or the override Template for the Records Window Listings.
Lorna

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

Re: Custom Fact Label Naming

Post by tatewise » 15 Feb 2023 10:19

Robert, see the FHUG Knowledge Base Entering Standard and Custom Fields for Facts especially under Show Fact Fields in the Property Box which gives an example that exactly matches your requirement.

It relies on the standard {_place} code (or you can use the {%FACT.PLAC%} data ref) to omit the in prefix.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Roberto
Gold
Posts: 22
Joined: 30 Sep 2021 06:50
Family Historian: V7
Location: Adelaide, South Australia

Re: Custom Fact Label Naming

Post by Roberto » 15 Feb 2023 20:01

Thanks Lorna and Mike. FH is "the greatest".

Cheers
Robert

Post Reply