var mand = “1” + “-” + “SomeText - Name1 & Name2”;
webBar.addText(“mandant”, anzahlElementeButtonbar++, "Mandant: " + mand); fails
webBar.setItemText(“mandant”, "Mandant: " + mand); works correctly
Might it be an encoding problem?
Perhaps the & or - causing the problem?
I feed both functions with same parameters.
Whats going wrong?
Script stops using first method with error:
“itemData.getAttribute is not a function
[Break on this error] “
</…xValue,setWidth,getWidth”.split(”,")"