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

 

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (3,280)