Skip to main content
Community site session details

Community site session details

Session Id : ATdz5YwkRqPwVTjq6QgbtN
Power Pages - Customize & Extend
Answered

How to update a multiple choices field using web api?

Like (0) ShareShare
ReportReport
Posted on 6 Nov 2023 02:30:53 by 38

I successfully updated a simple choice field using the data below:

var record = {

 "applyType":12345

};

 

but when I update a multiple choice field using below data, I keep getting error:

var record = {

 "applyReasons":[10, 15, 19]

};

 

How to update a multiple choices field using web api?

 

 

Categories:
  • Verified answer
    wangac Profile Picture
    38 on 06 Nov 2023 at 03:21:14
    Re: How to update a multiple choices field using web api?

    I use below data succesfully updated the multiple choices field.

    var record = {
     "applyReasons":"10,15,19"
    };

     

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.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Featured topics