ForEach and Loop APIs

Modified on Wed, 22 Jun 2022 at 10:01 AM

Turning a list of IDs into Content

There is a common logic pattern when you are pulling information from APIs where you will first get a list of IDs and then need to parse through each of them to call another API to get specific information about the element linked to that ID. Here's how we can do that with Uiflow:


Using a For Each Loop



Using a Loop


 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article