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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to hide or remove unwanted global option set value from the CRM portal form?

(0) ShareShare
ReportReport
Posted on by 77

Hi,

I am able to hide the unwanted global option set value in portal using the following code but on portal option set is showing as multi select and the value is not hiding using the code below. Any ideas please. Thanks

$("#new_test option[value='123400000']").hide();

I have the same question (0)
  • Verified answer
    Mohsin Ali Profile Picture
    3,634 on at

    Instead of hide, please use remove. This will remove that particular items in front end only, but they will be there in the backend.

    $("#new_test option[value='123400000']").remove();

  • D365Admin Profile Picture
    77 on at

    Hi Mohsin Ali,

    Thank you for your time in answering my query but sorry, that didn't work either.

    My above given code works if we show the option set field on portal but we are showing the option field as multi select and possibly that's why it didn't work either.

  • D365Admin Profile Picture
    77 on at

    Hi Mohsin Ali,

    I was doing something wrong in the script so it didn't work before but now it is working as expected. Thanks for your help on this.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans