Looping with Actions (Sample App BUILD Video)

There have been many posts about this topic, I thought I would throw one out there showing the creation of a sample appโ€ฆ from start to finish.


This way you can follow along if you want, and hopefully end up at the same place I did at the end of the video. (^_^)

Here is a link to the app produced in this video (if you want to skip to the end)
https://www.appsheet.com/samples/How-to-loop-through-a-list-and-create-child-records-for-each-item-i...


Table of Contents

Details Time
Opening 0:00
Current Examples 1:27
Video and App Explanation 2:11
TABLES: Getting Started w/Spec 3:07
TABLES: Adding Base Tables 4:38
Integrating with AppSheet 7:37
ACTIONS: Actual Maker 10:23
VIRTUAL COLUMNS: List to Make 11:55
ACTIONS: Updating Maker 17:07
ACTIONS: Loop Action 18:45
ACTIONS: Repeater Action 20:03
ACTIONS: Adding repeater to loop 22:19
VIEW: Using the โ€œForm Saveโ€ Event 23:30
Testing the loop 24:55
TABLES: The Grandchild Level 25:53
Integrating Grandchild into App 28:58
ACTIONS: Make Grandchild Records 33:14
Adding Actions AFTER the Loop 37:57
FINAL TEST 39:05

HUGE shout out to @Steve for all the hard work figuring out the base of how all this looping stuff works. 3X_d_5_d51363a862e7ab883241c312ac5d7f271579cdd3.gif

28 7 1,887
7 REPLIES 7

For those just wanting the &

Hey @MultiTech_Visions and @Steve

Thanks so much for this knowledge and video, Iโ€™ve got it implemented into my app now and its working an absolute treatโ€ฆ

Regards, Ben

3X_0_9_098e3d8e143955e044c463e7b9b9eeb24cdb88c5.gif

Thank you for this, it was the missing piece in my Training app puzzle. Tried the other approaches but yours is neater. In my app, supervisors create a training session, (now) automatically adding their team, then they can tick a box if staff passed training or not. If not, those names are used as โ€œsuggested valuesโ€ for the next session they create until all pass.

Thank you for taking the time to make the video!

@Metworks_IT youโ€™re very welcome. 3X_d_5_d51363a862e7ab883241c312ac5d7f271579cdd3.gif

YGY
Silver 1
Silver 1

This is excellent, well done and thank you.

In case you wanted to update your system to allow for manual data entry for each โ€œthingโ€ to be created, youโ€™ll need to change how things are configured a bit.

  • The result will allow you to create a record for each item in your original loop
    • but instead of looping through in the background, now youโ€™ll loop through a form.
Top Labels in this Space