SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Filter services within page 1 and page 2 in app

AkshayR
Explorer
0 Kudos

how can I filter few records from home page on list item click to show another service records matching the filter id on another service response ?

Need to Filter between two service from one page to another on line item click

on page 1 I am binding data from a capm service URL via rest that outputs to a list of data having FacilityId and FacilityName, on click of a line item i am opening a new page and here I want to show records from another service which I have added as data source here but after filtering collection of records from many to a few based on same FacilityId (service 1) and Facility_FacilityId (service two) matching on selection from home page list.

 

1.png

 

2.png

image (1).png

image (2).png

 

 

 

 

 

image (3).png

 

 

 

image (4).png

 

 

 

 

image (5).png

 

image (6).png

 

 

 

 

1 REPLY 1

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

I'm confused what you would like to do.

It sounds you want to pass the FacilityID chosen in page 1 to page 2, where you will filter another service with it. So you can either define a page parameter or app variable (depending how you organized your pages) so that the second page can access the ID. You would get the ID in the Item in Repeat binding. 

Is that what you want?




--------------
See all my blogs and connect with me on Twitter / LinkedIn