Family Tree Tips ~ Diagram Hyperlinks PDF

  • Skill Level: Advanced and Intermediate
  • FH versions: V4, V5, V6, and V7
  • In Topics: Creating a website 

Introduction

An alternative way of navigating the website is to create a Family Historian Diagram PDF file, where each Individual Box has a Hyperlink to the person’s Web Page.

PDF files can be reliably opened on almost any computer, not just Windows PC. Then having found an Individual in the Diagram, a click on the Hyperlink immediately opens their featured Web Page.

Diagram Style and Content

It is advisable to keep the style and content of the Diagram very simple, otherwise for large Diagrams it may be awkward to locate where to click the hyperlink. Use colours for names and boxes to signify Gender, Living, etc.

The Diagram should only include Individuals that have featured pages on the website by using the same selection criteria as in Family Tree Wizard ~ Step 2 – Select Featured Individuals.

If the number of Individuals on the website is large, then more than one Diagram can be produced, perhaps one for each grandparent branch.

Each box only needs to display the Individual Name, maybe with Life Dates, and the Hyperlink. The text scheme templates to achieve this are:

Name: %INDI.NAME:FULL% (%_INSTANCE_%)
Life Dates: =LifeDates(,STD)
Hyperlink: =Text( "https://www.domain.com/ind" . RecordId() . ".html" )

where https://www.domain.com is your website URL, which is followed by ind99.html that references the Individual page file, where 99 is the Record Id.

Similarly, for a Family Tree CD the following may work:

Hyperlink: =Text( "file:///D:/data/ind" . RecordId() . ".html" )

where D: is the CD/DVD drive letter,

However, it may be less effective, because it often invokes Adobe Reader Security Warnings that need to be bypassed for each Hyperlink click. Note that the path must NOT contain any space characters.

The Hyperlink template expression illustrated above only works where in Family Tree Wizard ~ Step 3 – Choose Report Template the Primary Page Type specifies that Individuals each have their own page. If they share a page with their spouse by choosing such as a Family Group Sheet, then the Hyperlink template expression where necessary must refer to fam99.html page files instead, as shown below:

Hyperlink: =Text( "https://www.domain.com/" . TextIf( Exists(%INDI.FAMS%), Text("fam" . RecordId(%INDI.FAMS>%)), Text("ind" . RecordId()) ) . ".html" )

It is important that the Hyperlink URL text is displayed on one line in the Individual Box, otherwise it will not operate correctly as a Hyperlink. It may be necessary to reduce the point size of the font used for the Hyperlink URL by using an item such as <font = Calibri, 8 pt; text colour is Blue> as shown below or increase the size of the box.

The Diagram PDF is added via the Family Tree Wizard ~ Step 4 – Add Items for Table of Contents using the Download option.

Last update: 15 Apr 2025