Accessing components within a template instance

Hi,

i have a window. In this windows i added a CustomTemplate and a Button.
Is there any way to access to a component property inside the CustomTemplate using scripting on button? Or the only way is to use a CustomProperty in Template and bind it to component property?

It is definitely possible.
Have a look here:
https://docs.inductiveautomation.com/display/DOC80/Vision+Templates#VisionTemplates-AccessingComponentsInsideaTemplateInstance

2 Likes

Thanks!! tomorrow i’m going to test it!