Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Remove option from a default option set / choice by deployment

Posted on by 247

Hi,

we have customized several choices / optionsets on our DEV by removing existing options.

We deploy our solution as managed with "overwrite customizations".

On the target stage the choice/optionsset have still the removed options.

Of course - we can use JS/TypeScript to "removeOption" - but is this not possible by a deployment?

Regards,

Martin

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Remove option from a default option set / choice by deployment

    Hello,

    Have you tried the "Upgrade" option when you import the solution? Doublecheck that the optionset you modify is present in the solution.

  • MaSc4Crm Profile Picture
    MaSc4Crm 247 on at
    RE: Remove option from a default option set / choice by deployment

    Hello Andrew,

    thanks for your response.

    It is default optionset therefore we ware the second layer - the first one is Microsoft.

    There are no other layer or customizations on this optionset.

    The question is: Is it possible to remove default values from exisiting optionsets by managed deployment?

    Regards,

    Martin

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Remove option from a default option set / choice by deployment

    Hello Martin,

    I would recommend checking the layering of solutions in your destination environment. We experienced a similar situation when the component (optionset) was shared by a few managed solutions and solution layering caused that issue.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans