* Using Custom ID in Source Record Title
- McHooty
- Platinum
- Posts: 34
- Joined: 18 Jun 2021 09:10
- Family Historian: V7
- Location: North Lincolnshire, UK
Using Custom ID in Source Record Title
Hi
I am creating custom Source Templates and want to include the individual's Custom ID in the Record Title.
If this is possible could you advise on the format I should be using.
What I am aiming for is along the lines of: Smith - Albert Charles (S 356) Obituary 26 Jan 1989.
Using: {Name:SURNAME} - {Name:GIVEN} (%INDI.RFN%) {Type} {Date_of_Publication} I can achieve everything except (S 356).
I have tried %INDI.RFN% and variations around this, but nothing that I have tried works.
Probably missing something obvious as usual.
Thanks in advance
I am creating custom Source Templates and want to include the individual's Custom ID in the Record Title.
If this is possible could you advise on the format I should be using.
What I am aiming for is along the lines of: Smith - Albert Charles (S 356) Obituary 26 Jan 1989.
Using: {Name:SURNAME} - {Name:GIVEN} (%INDI.RFN%) {Type} {Date_of_Publication} I can achieve everything except (S 356).
I have tried %INDI.RFN% and variations around this, but nothing that I have tried works.
Probably missing something obvious as usual.
Thanks in advance
Michael Huteson
I may be getting older, but the hills aren't getting higher !
I may be getting older, but the hills aren't getting higher !
- tatewise
- Megastar
- Posts: 27078
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Using Custom ID in Source Record Title
The way to find valid data refs is to use one of the many Data Reference Assistants.
The easiest is in the Query window, Columns tab, Fields pane, with the box at the bottom set to Show Both in Box.
In this case, use the All Individuals query and select Individual + Miscellaneous + Custom Id to find ref %INDI.REFN[1]%
The index [1] is not strictly needed as %INDI.REFN% defaults to the 1st Custom Id.
In Source Template Formats all such data references must be enclosed in { curly brackets } like the other codes.
So that leads to the required code of ({%INDI.REFN%}) to display the Custom Id inside parentheses.
The easiest is in the Query window, Columns tab, Fields pane, with the box at the bottom set to Show Both in Box.
In this case, use the All Individuals query and select Individual + Miscellaneous + Custom Id to find ref %INDI.REFN[1]%
The index [1] is not strictly needed as %INDI.REFN% defaults to the 1st Custom Id.
In Source Template Formats all such data references must be enclosed in { curly brackets } like the other codes.
So that leads to the required code of ({%INDI.REFN%}) to display the Custom Id inside parentheses.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Using Custom ID in Source Record Title
I'm curious -- which Individual's record ID would you include for e.g. a Marriage? Both of them I guess.
What about a census?
What about a census?
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- tatewise
- Megastar
- Posts: 27078
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Using Custom ID in Source Record Title
Michael, I have experimented with my suggestion and thought a bit more and realised what you want is not possible.
In general, a single Source record can be attached to multiple Facts &/or Individuals.
So it is not possible to identify any one specific Individual record that has cited the Source record.
I'm sorry, but the only way you can get such details is to have a Source Template metafield 'Custom Id', in much the same way as you already have a 'Name' metafield.
In general, a single Source record can be attached to multiple Facts &/or Individuals.
So it is not possible to identify any one specific Individual record that has cited the Source record.
I'm sorry, but the only way you can get such details is to have a Source Template metafield 'Custom Id', in much the same way as you already have a 'Name' metafield.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- McHooty
- Platinum
- Posts: 34
- Joined: 18 Jun 2021 09:10
- Family Historian: V7
- Location: North Lincolnshire, UK
Re: Using Custom ID in Source Record Title
Hi Mike
Thanks for the reply. I have played about a bit more before seeing your second message and came to the same conclusion. I have been adding the CustomID by manually amending the Title so I'll just carry on doing that.
Learnt a few things in the process though so not been a waste of time.
Thanks
Census I also use AS but only use the Key Person in the Title. Each to their own I suppose.
Thanks for the reply. I have played about a bit more before seeing your second message and came to the same conclusion. I have been adding the CustomID by manually amending the Title so I'll just carry on doing that.
Learnt a few things in the process though so not been a waste of time.
Thanks
For marriages Yes, both. I'm working on my Scottish family at the moment and using records from Scotland's People and then entering the data through Ancestral Sources which creates the Title in the format I'm afterColeValleyGirl wrote: ↑14 Aug 2023 16:52I'm curious -- which Individual's record ID would you include for e.g. a Marriage? Both of them I guess.
What about a census?
Census I also use AS but only use the Key Person in the Title. Each to their own I suppose.
Michael Huteson
I may be getting older, but the hills aren't getting higher !
I may be getting older, but the hills aren't getting higher !
- ColeValleyGirl
- Megastar
- Posts: 4853
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Using Custom ID in Source Record Title
You and Mike have both arrived at the same conclusion i did. A source is often not specific to an individual/fact so a single Custom ID cant be added automatically.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- NickWalker
- Megastar
- Posts: 2401
- Joined: 02 Jan 2004 17:39
- Family Historian: V7
- Location: Lancashire, UK
- Contact:
Re: Using Custom ID in Source Record Title
If you're using templated sources with Ancestral Sources then the default setting (under Tools->Options) is this: So the title generated by AS will be replaced with the version generated by the Family Historian title template when the project next loads up in FH.McHooty wrote: ↑14 Aug 2023 19:05For marriages Yes, both. I'm working on my Scottish family at the moment and using records from Scotland's People and then entering the data through Ancestral Sources which creates the Title in the format I'm after![]()
Census I also use AS but only use the Key Person in the Title. Each to their own I suppose.
But you could change that setting to this (and I guess you may already have done this): You would then use the AS title templates to specify the format of the title. The only downside to this is that you wouldn't then be able to easily change the titles in the future if you decided to alter the formatting. To be clear, you would need to specify the 'Method 1 Source Title Template' for each of the source types in AS to ensure they are in the format you require.
- McHooty
- Platinum
- Posts: 34
- Joined: 18 Jun 2021 09:10
- Family Historian: V7
- Location: North Lincolnshire, UK
Re: Using Custom ID in Source Record Title
Nick
Yes. I've modified all the templates I use in AS to create the Source Title in the format I prefer and selected the 'no update in FH' option.
Thanks for all your work with AS
Yes. I've modified all the templates I use in AS to create the Source Title in the format I prefer and selected the 'no update in FH' option.
Thanks for all your work with AS
Michael Huteson
I may be getting older, but the hills aren't getting higher !
I may be getting older, but the hills aren't getting higher !