* Reset default sentence definitions

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
Robert Jacobs
Famous
Posts: 111
Joined: 21 Mar 2015 18:03
Family Historian: V7
Location: Ellensburg, Washington, U.S.A.
Contact:

Reset default sentence definitions

Post by Robert Jacobs » 06 Feb 2021 01:27

I see that fact sentence templates can be restored individually. Is there a way to do restore all of them to their defaults en masse?

avatar
mremkes
Silver
Posts: 5
Joined: 15 Dec 2015 11:34
Family Historian: V7
Location: Geldrop, Noord-Brabant, Netherlands

Re: Reset default sentence definitions

Post by mremkes » 06 Feb 2021 11:17

Goto Fact Types > Fact Sets, select the fact set you want reset and click the Reset button.

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

Re: Reset default sentence definitions

Post by LornaCraig » 06 Feb 2021 11:31

The method suggested by mremkes will only re-set the global sentence template, if you have previously changed it. It will not affect any individual changes you have made to sentences in Property boxes. This is entirely reasonable, because you need to be able to 'tweak' the global template without messing up any indivdual changes you have made.

As far as I know those individual changes will need to be re-set manually, one at a time. [Edit: Mike has now sugggested a way of doing it]
Lorna

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

Re: Reset default sentence definitions

Post by tatewise » 06 Feb 2021 11:39

I think Robert is referring to the ability to set the Sentence Template for specific Facts and override the Tools > Fact Types definition of the Sentence Template.

To delete all such fields is much the same as for any Fact subsidiary field management.
Use a Fact type Query with a Columns entry for Sentence chosen from the lefthand Fields, i.e. %FACT._SENT%
On the Rows tab you can use Exclude if %FACT._SENT% is null but it is a not essential.

Run the Query and in Result Set click Sentence column heading to bring used fields together.
Select all those used cells and hit the Delete key on keyboard.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Robert Jacobs
Famous
Posts: 111
Joined: 21 Mar 2015 18:03
Family Historian: V7
Location: Ellensburg, Washington, U.S.A.
Contact:

Re: Reset default sentence definitions

Post by Robert Jacobs » 06 Feb 2021 15:55

I am trying to convert from RootsMagic 7 using a GEDCOM which incorporates the RootsMagic extended details. When I do so, many of the RM sentence structures are found in FH7. As they are a different template language, of course they don't work properly. So what I want to do is to perform the import and then globally change all sentences to the FH7 defaults.

It looks as though the reset suggested by mremkes above may do the job, but I haven't tried it yet.

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

Re: Reset default sentence definitions

Post by tatewise » 06 Feb 2021 16:19

Robert, please provide more details about what you are seeing imported from RM.

If the templates you mention don't use the FH Fact subsidiary tag 2 _SENT then they will have no effect.
As you say the RM templates are different. So they won't work in any way whatsoever. They have no effect on FH.
There is nothing an imported GEDCOM can do to upset the Tools > Fact Types global definitions of Sentence Templates.
Thus nothing needs resetting. What you are seeing as narrative sentences are the FH global defaults.

I suspect the RM import may have custom facts with no Tools > Fact Types global definitions and that is what needs resolving.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply