I am trying to excess the custom property of template from script library. Here’s the snapshot -
I have the main window named - MainAguas
The template is something like this
root container of this template has a custom properties as -
I am trying to write to the properties from global script library as -
def updatePage(machine, testMachine, compound, orderNumber, batchNumber): if machine == testMachine : # try: window = system.gui.getWindow("MainAguas") mainContainer = window.getRootContainer().getComponent("MDR 2") mainContainer.setPropertyValue("Root Container.compound", "DM M14")
I tried this is it doesn’t give any error but doesn’t update the client either.