web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Submitting a variable ...
Power Apps
Answered

Submitting a variable amount of identical forms

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

We're currently exploring powerapps and we're trying some different methods to create the app we need.

 

In essence, the operation we want to do is make a report and add a number of items to each report. The number of items can vary, sometimes it's 10, some other time it's 25. Each item has its own fields that need to be filled, but the item fundamentally stays the same.

 

Currently, we have a working example by using a gallery and placing all the items underneath each other and eventually using patch to create the report and add all the items to it with one button. The problem with this is that when we have a large number of items the patch gets very slow.

 

However, this time we want to see if making a form for each item and saving it to the CDS in-between items would shave some time off the process, but I'm not sure how I would be able to call the form X amount of times dynamically. My first guess would be to use a list or array, count the items and use the index but I don't think powerapps works that way.

 

We have a template for each report that contains the items that need to be filled in.

For example:

A 'Standard Safety' report template would have items for hardhats, safety shoes, harnesses, gloves, etc, and as such the forms would have to read the items contained within and make a form for each item dynamically.

 

How would I go about looping through items like this?

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on at

    assuming your checklist items are in a gallery, you could do something like this

    https://microsoft-bitools.blogspot.com/2020/03/power-apps-get-next-item-from-gallery.html

     

    this is also where I've used a model driven app. model driven apps have the native ability to navigate between records in a view.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard