Self. component paths

I am trying to write a script action on a Perspective component. I am new to this so this may sound clueless: Which of the following are valid examples of component paths?
self.sibling
self.getChild("Container")
slef.getSibling("name")
self.child
self.parent

2nd, 3rd, and 5th.

https://docs.inductiveautomation.com/display/DOC81/Perspective+Component+Methods#PerspectiveComponentMethods-ObjectTraversal

You seldom need to worry about it as the Browse Properties button will guide you through the selection.

One thing's for sure though, slef.getSiblingwon't work. :woozy_face:

3 Likes

Thanks for pointing me in the right direction...

Oops, typo with the Slef. But getSibling does need a container to look in.