cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Continued Contributor
Continued Contributor

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
Highlighted
Continued Contributor
Continued Contributor

Re: Populate Edit Form from Gallery Selection

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
Highlighted
Continued Contributor
Continued Contributor

Populate Edit Form from Gallery Selection

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!

Highlighted
Community Support
Community Support

Re: Populate Edit Form from Gallery Selection

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.
Highlighted
Continued Contributor
Continued Contributor

Re: Populate Edit Form from Gallery Selection

Hi Michael,

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

Thank you

 

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Populate Edit Form from Gallery Selection

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.

Highlighted
Advocate III
Advocate III

Re: Populate Edit Form from Gallery Selection

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
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,708)