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 / How to patch all colum...
Power Apps
Answered

How to patch all column values of a collection to a dataverse table column

(0) ShareShare
ReportReport
Posted on by 90
How to patch all collection column values to a data verse table column
22 hours ago

I have my collection name xxxx with only one column

Nida_Sayedi_0-1694756408935.png

 

I have my Dataverse table Apilocations table with single column which is empty right now

Nida_Sayedi_1-1694756408809.png

 

what function do I  need to write on button so that if I  click on a button it will load/copy all data from my collection/table to my dataverse table

 

I am using ForAll(xxxx,Patch(Apilocations),{Value:Thisrecord}),  or ForAll(xxxx,Patch(Apilocations),{crfo5_Name:Thisrecord})

 

or 

ForAll(
xxxx,
Patch(
Apilocations,
Defaults(Apilocations),
{
crfo5_Name: xxxx.Value
}
)
)

 

but none  working

Can anyone help me solving this ,Please??

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Nida_Sayedi,

    Modify as below:

    ForAll(
    xxxx As temp,
    Patch(
    Apilocations,
    Defaults(Apilocations),
    {
    crfo5_Name:temp.Value
    }
    )
    )

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard