Skip to main content

Notifications

Community site session details

Community site session details

Session Id : hH3MWlfXGaIARunulJjneE
Power Apps - Building Power Apps
Answered

Power apps connection to sharepoint lists

Like (0) ShareShare
ReportReport
Posted on 12 Mar 2024 17:55:07 by 2

I need assistance with tying a Share point list with a collection to gather input data from a customer:
I'm getting the following error: HELP! lol 

rsteeleiv_1-1710265120759.png

rsteeleiv_0-1710265087730.png

The user is prompted to input information containing a combination of dropdown selections and input boxes.

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 13 Mar 2024 at 04:55:37
    Re: Power apps connection to sharepoint lists

    Hi @rsteeleiv,

    Do you want to update a list based on a collection?

    Could you please tell me that if you have combination of dropdown selections and input boxes in a Gallery?

     

    If you have combination of dropdown selections and input boxes in a Gallery, I think you should combine Patch() with ForAll():

    ForAll(
    Collection as T,
    Patch(
    ScoreCard,
    Defaults(ScoreCard),
    {TRTID:T.Field1_Collection,//Map the fields from your collection
     Quarter:T.Field2_Collection,
     ...
    })
    )

    If you just have standalone controls, you need a Patch

    Patch(
    ScoreCard,
    Defaults(ScoreCard),
    {TRTID:TRTIDEntry.Value
    Quarter:QuarterEntry.Text,
    ...
    })

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started
Loading complete