Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

pass value from one component to another

amittripa
Level 2
Level 2

Hi,

i have a problem, please help me.

i have to pass a value from one component to another, but condition is that both component will be used in same page . and updation of one value in one component should update the value on other component.

plz guide me how to achieve  this

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

To pass data around in CQ - simply have component A write data to node C and then have component B read the data from node C. Likewise, component B can update node C and component A will see the updates. 

Hope this helps.

View solution in original post

1 Reply
smacdonald2008
Correct answer by
Level 10
Level 10

To pass data around in CQ - simply have component A write data to node C and then have component B read the data from node C. Likewise, component B can update node C and component A will see the updates. 

Hope this helps.