I need to set the footer text of a Writer template as the text of the first Heading 1.
I added Insert -> Field -> More Fields -> Cross-references -> Headings -> Referenced text
to the footer. This correctly inserted the text of the first heading into the footer as expected.
However, this is a template. I need the field to update when the template is used to create a document. As is stands, when I edit the first Heading 1 I get the following text in the footer: Error: Reference source not found
.
How can I configure the footer text field to update dynamically as the first Heading 1 changes?
LibreOffice Writer 7.4 on Kubuntu 20.04.