cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Issues on retrieving data from a Collection into an Entity

I'm currently using the Collect() func to (on a click of a button), collect data from a gallery and send that data to my Entity using:

Collect(CantinaBackEnds, {Data: Date_1.Text, Prato: Dish_1.Text, DiaDaSemana: DayOfTheWeek.Text})

The app is running fine, with no errors. However my Entity (in blue) is empty of data, even though my Collection has data.

All the fields in my collection (in orange), match perfectly the ones created on the entity, therefore this should be working.

Could some one share some ideas?

 

Thnkx

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
rsaikrishna
Community Champion
Community Champion

@Anonymous 

 

Try the following:

Use Patch command to patch the data source.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

View solution in original post

2 REPLIES 2
rsaikrishna
Community Champion
Community Champion

@Anonymous 

 

Try the following:

Use Patch command to patch the data source.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

Anonymous
Not applicable

Thanks for the answer. I did this:

Patch(CantinaBackEnds, Defaults(CantinaBackEnds), {Name: "Tiago", Data: Date_1.Text, Prato: Dish_1.Text, DiaDaSemana: DayOfTheWeek.Text});

Working perfectly!!!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,649)