Preconditions:
I have two files, the first one is a feature file, and another one is a library with components.
What I’m trying to achieve is the following:
- user A via some interaction, calls
setPluginData
on ComponentSetNode, this ComponentSetNode has child ComponentNode A - user B selects InstanceNode where mainComponent is a ComponentNode A
- I want to
getPluginData
from the ComponentSetNode above. so the chain isinstance.mainComponent.parent.getPluginData()
- here I always get undefined
Can it be the problem that this ComponentSetNode is defined in another file? How can I save data on a component set and then get it on the instance level?