Passing data from one widget on one page to another widget which is from different page

priyankar umesh
Tera Contributor

I have one page i.e. primary page which contains widget named primary widget. I have one another page called secondary page which contains widget named secondary widget. My requirement is:

Once I will click send button on primary widget, it should send data to secondary page widget (i.e. secondary widget).

 

Is it possible to achieve? Please help me. 

I am attaching screenshot for reference.

 

1 ACCEPTED SOLUTION

@priyankar umesh  if you have opened both the pages in different pages on the browser and trying to pass information, this is not possible unless you are updating any record in the first widget and in the second page widget you are using record watch to check for live updates.

Just sending a text/message is not possible.

Please mark this as helpful /  accepted solution if it resolves your query.

Thanks & Regards

Veer

 

View solution in original post

6 REPLIES 6

Veer
Tera Guru

@priyankar umesh 

Could you share your code please.

 

 

priyankar umesh
Tera Contributor

I am trying with event passing and catching [$emit and $on technique]. This is not working as both widget is on different page. [Refer to screenshot for code].

If you can guide me the steps to achieve this ?

@priyankar umesh 

Widget communication using broadcast and emit wont help here, 

On click of first page widget does it opening / redirecting the second page? if yes we can pass the value in the URL & retrieve that value in the second page widget from the url using, $sp.getParameter('url parameter');

If you have opened both the pages in different tabs and expecting if you click on one page and information should pass to another page, that may not be possible.

Please let me know if its resolves your query.

Thanks & Regards

Veer

No. For redirection I can handle it by passing parameter via redirection URL to different page.

Here situation is different. Both pages are independent to each other they both contain different widget. One is sending data and other is receiving it.