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 / Patch Model Driven App
Power Apps
Unanswered

Patch Model Driven App

(0) ShareShare
ReportReport
Posted on by 179

I have a model driven app with a canvas app questionnaire form. The questionnaire form is inside a gallery that has 7 questions using radio buttons. I am also using a collection to capture the information I need in the other fields. Except for the radio control, the formula works exactly as I want it to.

 

Where I'm struggling is how to get the formula below to provide each gallery selected radio item to patch independently of the other. What happens with this formula is that when I submit the form, it gives me the radio button selection of the first item seven times. For example, instead of seeing something like 1) Yes 2) No 3) N/A, I get 1) Yes, 2) Yes 3) Yes. I know the reason for this has to do with the ForAll function but I can't figure where to place the Answer: gal_Access... item.

 

If(tgl_Access,

ForAll(
    col_Access,
    Patch(
        Questionnaires,
        {
            'Item Number': lbl_AccessItemNumber,
            'Security Domain': tgl_Access.Value,
            'Standard Name': lbl_AccessStandardName,
             Question: lbl_AccessQuestion,
             Answer: gal_Access.Selected.rdo_Access.Selected.Value
        }
    )
),

Patch(
        Questionnaires,
        Defaults(Questionnaires),
       
        {
           'Standard Name': lbl_AccessStandardName.Text,
           'Security Domain': tgl_Access.Value
        }
    )
)

 

Appreciate any feedback, please.

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard