I need to make the template visibility false, when a button is clicked inside the template. I guess I am having issues with component hierarchy.
The ‘Cancel’ button is to make the template invisiblle.
This is what I have right now. Thanks!
event.source.parent.getComponent('abort_template.Container').visible = False
``
<img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/business4/uploads/inductiveautomation/original/2X/6/623c988a07640586e86968fa435dadceef5fac9a.PNG" width="501" height="500">