Page 1 of 1

Data refence for a custom source template field

Posted: 22 Sep 2022 05:36
by evinther
Hello,

In all my custom source templates i have a 'flags' field. This was a later addition to my source templates with the result that the flags field number (indeks) varies from template to template.

Initally not a problem, but now i want to add a 'flags' column to my Source Records list view. Had the flags field been e.g. no. 1 in all my templates the date reference expression would simply be %SOUR._FIELD[1]%, but it's not. I could modify all my source templates to have the flags field at the same index, but I'd rather not.

Any help is appreciated.

Thanks
Erik

Re: Data refence for a custom source template field

Posted: 22 Sep 2022 08:41
by ColeValleyGirl
https://www.family-historian.co.uk/help ... metafields explains how to access them by name.

Re: Data refence for a custom source template field

Posted: 22 Sep 2022 08:58
by evinther
Ahaaa ... magic !

Thanks Helen