cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KC
Kudo Kingpin
Kudo Kingpin

Gallery and Edit Form

Edit form is having some issues now, does not matter what you put into the Edit Form Item property, - Gallery.Selected, Gallery.Selected.Id etc... always produces the same error.
Invalid Formula: Expected a value compatible with 'DataSource'. ?

 

Not sure why this one posted but this is no longer relevant

 

My follow up reply is on my original post - https://powerusers.microsoft.com/t5/PowerApps-Forum/Populate-Edit-Form-from-Gallery-Selection/m-p/45...

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Michael,

Correct, the issue is fixed now with the new version of the PowerApps Editor.

Thank you

 

View solution in original post

5 REPLIES 5
KC
Kudo Kingpin
Kudo Kingpin

Edit form is having some issues now, does not matter what you put into the Edit Form Item property, - Gallery.Selected, Gallery.Selected.Id etc... always produces the same error.
Invalid Formula: Expected a value compatible with 'DataSource'. ?

Ok a new version of PowerApps was just released, this seems to be fixed now.

 

By the way the new Interface looks great. well done!

v-micsh-msft
Community Support
Community Support

Hi @KC,

 

I saw you shared that 

"

Ok a new version of PowerApps was just released, this seems to be fixed now.

"

So there is no issues working with the Editform control by now?

The error message you posted should mean the the record specified under the item property does not match the record type defined for the Data source, which is added under the Data source property of the EditForm control.

For more information about the EditFrom control, please check:

Edit from and Display form controls in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Michael,

Correct, the issue is fixed now with the new version of the PowerApps Editor.

Thank you

 

Anonymous
Not applicable

I am having this exact same issue in PowerApps Web Editor - there is no new version of the web editor, so I'm not sure how to fix this. In my case, the form should display the selected item in from a gallery whose data source is a Collection I created. But on the form, there is no option to selection a Collection as the data source for a form.

I too am having this problem. I think that collections are an invalid data source for an EditForm, but I can't find a useful work around? 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,953)