Quick tips - Looping!

Hey everyone! Just wanted to share a quick video for how to accomplish looping. It can be a pretty powerful technique.

5 Likes

Hi @freedman

Is it possible to use a similar technique If I have a work orders table.
What I am wanting to achieve is to create a dispatch app where there is a single table with all sales orders and corresponding work orders. So a sales order may have 10+ lines of work orders.
Is it possible to create a feature that loops through and marks all lines of a sales order as packed (one of the fields in a table)?

@Nolsie definitely - the above technique can be used to do all sorts of things within the loop. The scenario you are bringing up is almost identical to the one in this video. Looping has a limit of 100 cycles so that should work fine in your scenario.

There are methods you can use to increase the limit if needed.

Hey All!

We just released a Widget Plugin to make looping incredibly simple in Tulip apps. Check it out here:

Pete

some references here for best practices are out of date based on the looper library widget, although existing looping methods still work fine. Closing this topic; please refer to and comment on Looping in Tulip Apps just got EASY