I have a particular individual, who has only one Fact (Birth) and I want to keep that Fact in the record but have it not shown in that persons box in Diagrams. Is that possible?
I've tried making the Fact private but that doesn't work. Also I've looked at Help and found this under Fact Flags, which I can replicate but not in my Custom text scheme (I can't find the "untick Include Private Facts" option):
"Hiding private facts in diagrams is less straightforward. If you are using the All Events and Attributes text scheme, in your diagram, for example, you need to edit the text (in the Text tab of Diagram Options), and then edit the <all events & attributes> item, and untick Include Private Facts."
How do I hide private facts, in a Diagram, if I'm using a custom text scheme: Birth, Marr, Death, Nickname (Custom)?
Thanks. Edit: see attached screenshot - where do I go from here?
* A way to hide certain Facts in an Individuals box in a diagram?
A way to hide certain Facts in an Individuals box in a diagram?
- Attachments
-
- Hide Private Facts in Diagrams.jpg (138.77 KiB) Viewed 636 times
- tatewise
- Megastar
- Posts: 29071
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: A way to hide certain Facts in an Individuals box in a diagram?
Edit the Birth item and use the Template:
=TextIf( Exists( %INDI.BIRT._FLGS.__PRIVATE% ), "", FactText( %INDI.BIRT%, "CT", "E_Born: _ in _" ) )
where
=TextIf( ... ) is the conventional way of conditionally including/excluding text
Exists( ... ) is the way to set the condition by testing the Fact Private Flag existence
%INDI.BIRT._FLGS.__PRIVATE% is the Data Reference for the Fact Private Flag
FactText( ... ) is the original Birth item display template
=TextIf( Exists( %INDI.BIRT._FLGS.__PRIVATE% ), "", FactText( %INDI.BIRT%, "CT", "E_Born: _ in _" ) )
where
=TextIf( ... ) is the conventional way of conditionally including/excluding text
Exists( ... ) is the way to set the condition by testing the Fact Private Flag existence
%INDI.BIRT._FLGS.__PRIVATE% is the Data Reference for the Fact Private Flag
FactText( ... ) is the original Birth item display template
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: A way to hide certain Facts in an Individuals box in a diagram?
Thank you Mike.
That has worked perfectly. Thanks also for explaining the code.
That has worked perfectly. Thanks also for explaining the code.