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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (58,947)