Announcements
Hi guys,
I created a multi selected column in Dataverse, now I want to save some data by power pages web Api, I understand how to do it with single selected column. I try some ways, but all failed. Is there any idea?
Thanks in advance.
a sample code is this one
var record = {}; record.sample_choices = "1,2"; // Choices webapi.safeAjax({ type: "PATCH", contentType: "application/json", url: "/_api/sample_customtables(11111111-1111-1111-1111-111111111111)", data: JSON.stringify(record), success: function (data, textStatus, xhr) { console.log("Record updated"); }, error: function (xhr, textStatus, errorThrown) { console.log(xhr); } });
you can use my tool Dataverse REST Builder if you need to generate the exact syntax for your field.
Hi Guido,
Thank you for your help. It completely solved my issue. I will also learn how to use your tool, as I believe it will be very useful.
Cheers
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 339 Most Valuable Professional
11manish 180
MS.Ragavendar 88 Super User 2026 Season 1