cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ryanberry
Level: Powered On

Can't manipulate values being generated from CosmosDB

We're working on creating an app that takes in data from Cosmos and displays it for the user to see. From there, they can theoretically update the information and send it back to Cosmos. We have a delete function working but can't seem to update a record in the table and send it back with new values. We've tried the Patch function but it's saying we need to pass it a table value instead of a record.

 

We have made a JSON object and sent it back to Cosmos, so we tried mapping the currently selected record to a variable, manipulating that, and sending it back to Cosmos but that variable appears to not be manipulable nor does it match the table data types (even though it's a carbon copy of a table record). The hope is there is some function that we don't know about that would solve our issues but we cannot find it.

 

So far we have working:

- Populate a table with the data from a container in Cosmos

- Add a record to a container in Cosmos

- Delete a record from a container in Cosmos

 

Not working:

- Retrieve a record from Cosmos, change it, send it back to Cosmos with changes.

 

If you can think of any source code you would need to solve this problem let me know and I'll post it in comments below.

 

Update: We solved this. No need to worry. I will stay subscribed to this sub if anyone runs into the same problem in the future.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Can't manipulate values being generated from CosmosDB

Hi @ryanberry ,

I'm glad that you've solved your problem.

Thanks for sharing!

If you do not have any other problem, could you please change your issue's status to "Answered"?

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Can't manipulate values being generated from CosmosDB

Hi @ryanberry ,

I'm glad that you've solved your problem.

Thanks for sharing!

If you do not have any other problem, could you please change your issue's status to "Answered"?

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 68 members 3,462 guests
Please welcome our newest community members: