Im trying to pass value/datasource from different buttons to child CC2 from CC1.
I have:
- root
- cc1
- button named "test"
- cc2 with custom property "stringDataSrc"
- computed field named "showValue"
- computed field named "showValue"
- cc1
Computed field "showValue" shows value of stringDataSrc.
Button "test" SSJS code: getComponent(cc2).getAttributes().size() returns 0.
How do I change custom property value of cc2 from button "test" with onclick event?