Nav Bar / Left Bar

You’re likely getting this error because you are trying to put that script into a property binding as opposed to an event script. If you right click on the tab strip and the click on configure actions you can then add your script to the property change section.

You’re going to want to filter on event.propertyName ==‘string’ instead of propertyChange I believe.