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 / EditForm binding to lo...
Power Apps
Answered

EditForm binding to local collection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I used the following formula to create a local collection but not actually download any data. I essentially only wanted the structure as this power app would be push data only.

 

ClearCollect(LocalCustomerFeedback,Filter('[dbo].[CustomerFeedBackForm]',CustomerFeedBackFormId = 0))

 

However when I dropped an EditForm onto the canvas and set the DataSource = LocalCustomerFeedback  the fields did not populate as I would have expected.

 

Am I doing something wrong?

 

Thanks

J

 

 

Categories:
  • Marek Profile Picture
    43 on at

    hi

     

    this can be misleading post, but from I tried to bind Edit/View/New form to Collection but it did not work.

    it is working on "online" Data Sources

  • macrag Profile Picture
    61 on at

    Hi 

     

    If i understood your question correctly, Edit Form can only bind to a single record so please refer to the below article and this should be able to help you.

     

    The Idea is you can have your Gallery Control and Bind your collection to it and from there you can load your Edit Form

     

    https://powerapps.microsoft.com/en-us/tutorials/control-form-detail/

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @macrag,

     

    I understand that the gallery control can connect to the collection however I essentially only want that collection to contain new records and there would be no editing of records.  e.g Once they are uploaded to the server then they are no longer required. So maybe I could have a gallery control but hide it?

     

    I would have thought the EditForm control would work as a NewForm. I just can't work out how in the web designer (preview) to hook up the fields of a local collection to that EditForm. In the end I would expect to call NewForm(Form1) and it to create a record on that local collection

     

    Thanks

    J

  • Verified answer
    macrag Profile Picture
    61 on at

    Hi

     

    You can bind the local collection to the Editform but the designer will be greyed out though..

     

    see the work around suggested and hope that helps you.

     

    https://powerusers.microsoft.com/t5/PowerApps-Forum/Binding-Collection-to-EditForm-is-not-working/m-p/46673#M19527

     

     

  • RBoneck Profile Picture
    435 on at

    Vote for this idea if you would like support for collections to be used as a fully functional datasource in display and edit forms!

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/Allow-Collections-to-be-used-as-a-DataSource-in-Forms/idi-p/308155

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard