Skip to main content

Notifications

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

Soft delete Option set values

Posted on by
We have an incident management system where one of the fields is an option set. We have period to select for this field. There is a requirement where users need to select only the top three periods. When a new period is added we have to remove the oldest value, but this is impacting historical data. Is there any way to soft delete a value from Option set so that.
 
1. Value persists for existing records.
2. That value cannot be selected for new records.
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Soft delete Option set values
    Hi Partner,
    You can use Javascript to hide this option on the form.
    Please refer to the following blog:
    When you create new records, this option can't be shown.
    But essentially the option value still exists in the database and does not affect the original record.

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans