Source Template Definition and Generic Type
Posted: 29 Mar 2023 10:38
Environment: FH7.0.19, AS 7.7.2, Windows 11 22H2
Typically my namimg conventions follow the same format for media attachments, source titles and source citations and that is ffff, yyyy, ssss gggg
where ffff = fact type, yyyy = year, ssss = keyperson surname, gggg = keyperson given names
The only exception to this rule is 1939 Register.
I am trying to use the Census Returns via Ancestral Sources to achieve this same thing.
Examples...
Census, 1911, Medows Alan
Electoral Register, 1955, Medows Alan
1939 Register, Medows Alan
I can get this working in AS ok but whenever I put this into FH the output of the source citation for 1939Register is...
Census, 1939, Medows Alan
I do not want to create a new source template specifically for 1939 Register.
I noticed that AS writes the source type into the Generic Type in FH. So in AS the source Census has categories Census, Electoral and Register where Register refers to 1939 Register.
So I tried to amend the Census Returns template to pick up the Generic type field but I failed miserably. I looked at the FH help - https://www.family-historian.co.uk/help ... rmats.html but it is difficult to interpret and I have tried following ways to pick up the Generic Type or failing that my own added field of type...
These are examples that I have tried. I must be doing something wrong. I am new to this area but I thought I had understood the princples.
Attempt 1...
=ItemIf({=GetRecord():Type}="Register",1939 Register, {=GetRecord():Type}, {Year:YEAR}), {Head_of_Household:SURNAME} {Head_of_Household:GIVEN}
Attempt 2...
ItemIf(%SOUR._TYPE%="Register",1939 Register, %SOUR._TYPE%, {Year:YEAR}), {Head_of_Household:SURNAME} {Head_of_Household:GIVEN}
I hope I have explained this well enough. All help gratefully welcomed...
Kind Regards
Alan
Typically my namimg conventions follow the same format for media attachments, source titles and source citations and that is ffff, yyyy, ssss gggg
where ffff = fact type, yyyy = year, ssss = keyperson surname, gggg = keyperson given names
The only exception to this rule is 1939 Register.
I am trying to use the Census Returns via Ancestral Sources to achieve this same thing.
Examples...
Census, 1911, Medows Alan
Electoral Register, 1955, Medows Alan
1939 Register, Medows Alan
I can get this working in AS ok but whenever I put this into FH the output of the source citation for 1939Register is...
Census, 1939, Medows Alan
I do not want to create a new source template specifically for 1939 Register.
I noticed that AS writes the source type into the Generic Type in FH. So in AS the source Census has categories Census, Electoral and Register where Register refers to 1939 Register.
So I tried to amend the Census Returns template to pick up the Generic type field but I failed miserably. I looked at the FH help - https://www.family-historian.co.uk/help ... rmats.html but it is difficult to interpret and I have tried following ways to pick up the Generic Type or failing that my own added field of type...
These are examples that I have tried. I must be doing something wrong. I am new to this area but I thought I had understood the princples.
Attempt 1...
=ItemIf({=GetRecord():Type}="Register",1939 Register, {=GetRecord():Type}, {Year:YEAR}), {Head_of_Household:SURNAME} {Head_of_Household:GIVEN}
Attempt 2...
ItemIf(%SOUR._TYPE%="Register",1939 Register, %SOUR._TYPE%, {Year:YEAR}), {Head_of_Household:SURNAME} {Head_of_Household:GIVEN}
I hope I have explained this well enough. All help gratefully welcomed...
Kind Regards
Alan