The script updates an svg tag “placeholder” with the barcode as a svg image using the data for the svg as the content of the barcode. (https://lindell.me/JsBarcode/)
It is working fine if the svg tag is in the code for the section but not if it is in the code for the master page. Seems like the script is not running for the master page. Is that correct and can I do anything about it?
If there is nothing that can be done about it, does anybody have a suggestion on how I could solve my problem by having the svg as part of the section instead? What I need is to create the barcode as part of a shipping label. There may be one or more shipping labels (each with a unique barcode) in the document. There is one shipping label per page. The shipping label takes up the first 1/3 of the page. Under it is a details table with the invoice lines.
Below is a sample of the first page of the document.
I am on the latest version of OL Connect.