Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Hide status reason optionset based on statecode and certain condition

(0) ShareShare
ReportReport
Posted on by
Hi,
 
In the case entity, when I choose /resolve case/, we can select a resolution type (status reason). In the resolution type we have few optionset values. Based on a case origin, I have to hide one optionset value. How we can do that ?
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hide status reason optionset based on statecode and certain condition
    Hi,
     
    We have analyzed your requirements, and you are trying to change the options in the drop-down box that appears when you click /Resolve Case/ as shown below. Is this correct?

    We have tested for your requirement and based on the test results, there is a high probability that this requirement is not achievable out-of-the-box.
     
    First, we found a similar set of options on the /Case Resolve/ entity, and while this set of options can be changed, the record for this entity is actually generated after the execution of the /Resolve Case/ activity, which doesn't meet your requirement.

    Next, we analyzed the commands executed by the /Resolve Case/ button, as shown below.

    This button executes a JS Code, but this web resource is not searchable in the environment, and perhaps is not editable itself.
     
    Finally, we tried to use the browser tool to analyze the /Network/ before clicking the /Resolve Case/ button to the popup form and found out that this Dialog form will call two other /Web Resource/ when it is generated, and these two Web Resources are also uneditable.


     
    As a result, we think you may need a plugin or something else custom to meet your needs and recommend you contact your organization's IT staff for further assistance.
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Siv Sagar Profile Picture

Siv Sagar 104 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 51 Super User 2025 Season 1

#3
Engy Louis Profile Picture

Engy Louis 37

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans