29
Views
2
Comments
Web block and screen interaction

List screen has one list block that gives one output- GUID

Detail screen has 2 blocks that accepts one same input- GUID (returned by list screen)

On the list screen, when clicked on a serial number column link, the GUID of respective record should be passed to detail screen and the details should be loaded accordingly in both the detail blocks of detail screen

How should I should i pass this guid from list block?

2020-11-10 07-09-26
Dadi

Hi

Does it means how passing GUID from List Child Block From Parent Screen to Detail Screen?

In list child block, use an event to pass the clicked GUID to Parent Screen, then create client action (EventClickedGUID) for the list child block event. In the end of EventClickedGUID put the destination to Detail Screen, and then put the GUID variable that passed from an event to Detail screen input parameter. The input parameter will use for Tab1 and Tab2 block.

Regards

2023-12-16 19-57-03
Sanjay Kushwah

Hii @Simran Vaswani,
follow the below steps: 

1. when you click on list that is inside block of your list parent screen you need to pass to  GUID  to screen  throw Event so on click action of your serial number link take a input parameter into this action and pass your GUID of list .

2. in your onclick action triagger a event with a input parameter GUID (create inside your list child block).

3. now after trigger event your screen will ask for a handler so create a handler.

4. in handler call destination activity/node and call your detail screen (which should have input parameter GUID ) pass input parameter of handler to your  details screen input parameter.

5. on your detail screen pass details screen input parameter into your both block and apply filter in your aggregate(that are inside your blocks).


if you face any issue please attach OML file


Thanks,

Sanjay Kushwah


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.