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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,321)