def handleTagHighlight(view, currentValue): tag = currentValue.value if tag == "": return components = view.rootContainer.getChildren() for child in components: params = child.props.get("params", {}) tagProps = params.get("tagProps", {}) tagsList = list(tagProps) if len(tagsList) == 0: continue tagPath = tagsList[0] if tag == tagPath: child.props.params["isHighlighted"] = True system.perspective.openDock('Docked-East-VFD', params={'tagProps': tagProps}) break return True return False