web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Add Select Values to Multi Select Option Set with WEB API

(0) ShareShare
ReportReport
Posted on by 15

Hi,

how can I just add values to a mutliselect option set with REST / ODATA Web Endpoint?

I can patch values, but they are always overwrite the existing ones. Is there any way to just add values?
For sure, I can GET all values, add the new ones and send this, but then I have doubled effort.

Best,
Robin

I have the same question (0)
  • meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    You need to use InsertOptionValue Action. It works for simple and multiselect optionset. 

    Please refer to docs: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/insertoptionvalue?view=dynamics-ce-odata-9

    Good Luck !

  • Robin23432 Profile Picture
    15 on at

    Hi Mehdi,

    Thanks for your answer, but it does not fit the question.

    This command is for adding a new option in the multiselect set itself. But I just want to select a new value in a record.

    So: My multiselect option set has 5 values. In my record there are 2 of them selected. Now I want to add a new value (of the possible 5) to the record without getting the earlier selected values before.

    Is there a way to do so?

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    I'm sorry. I misunderstood your need.

    Unfortunately, I don't see how you can add a new option to the multiselect without having its initial state.

  • Suggested answer
    Kenneth Ariel Chaves Herrera Profile Picture
    on at

    Hi

    Does this fit what you are looking for?

    Multi-Select Picklist attributes (Developer Guide for Dynamics 365 Customer Engagement (on-premises)) | Microsoft Docs

    By the way... when working with Web APIs, I strongly recommend using Postman. Here more info of how you can integrate it to the environment:

    Use Postman with Dynamics 365 Customer Engagement Web API (Developer Guide for Dynamics 365 Customer Engagement) | Microsoft Docs

    If this was helpful, please check it as verified to help others finding useful information.

    Welcome to this amazing community.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans