Visual Builder

Get Involved. Join the Conversation.


    Mohana Gopal Selvam
    Rest API - Handling multiple records in Response
    Topic posted June 16, 2019 by Mohana Gopal SelvamBronze Crown: 15,000+ Points, tagged REST 
    25 Views, 1 Comment
    Rest API - Handling multiple records in Response


    How to handle the multiple rows in the Rest API response?

    Use Case: When we enter the Dept, the user should see all the employees associated with the Dept. 

    Tried below options.

    Collection - This option is not useful, since we could not pass (find) the parameter dynamically.

    Action - We could not map the head -> item (i) -> Data1 value into variable, 





    • Shay Shmeltzer

      Can you clarify what you are trying to do?

      Are you trying to fetch multiple records based on a condition and show them in a table/list?

      Dropping a list component on your page and hooking it up to the REST endpoint that returns multiple records should do this.

      Also are you working with Business Objects or some other REST?

      You can pass parameters to the REST endpoint when you call it in the action chain that fetches the values.

      (Or if using SDP take this approach for example - Filtering List Results from a REST Service with Visual Builder )