I’m trying to create a template that will positon a barcode on the page based on a value in the data. I can get the values in no problem but I can’t figure out how to actually move the barcode.
I was given this code from OL support:
var locx = 100;
var locy = 100;
var temp = ‘"<div anchor=“page_media_0"style=“position: absolute; overflow: hidden; box-sizing: border-box; width: 200px; height: 200px; top: 33.16319676293945px; left: 74.20320476293945px;” offset-x=”’+locx +’" offset-y="’+locy +’">"’;
where 100 would be the position variable. I’ve then added that to the script for the barcode but it doesn’t seem to do anything. Below is a screenshot the script now for barcode
Could anyone point me in the right direction as I’ve had a look at the help section that OL support sent me but I can’t make much sense of it.