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 :
Service | Customer Service, Contact Center, Fie...
Unanswered

Message pop up code

(0) ShareShare
ReportReport
Posted on by 111
Hi,
I want a pop-up message to appear when Resolve button is triggered where a mandatory field is not updated. Where can I find the code for it? Or where can I find the code of Dynamics 365 Customer Service CRM, where the pop-up message comes when a parent case is resolved without resolving the child cases?
I have the same question (0)
  • RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We have analyzed your requirements, here is some sample code, we will test it as soon as possible and reply with the results below.
     
     
    var field = Xrm.Page.getAttribute('fieldname');
    
    if (field != null) {
        var fieldValue = field.getValue();
    
        if (fieldValue == null || fieldValue == '') {
            alert('The required field is not filled!');
        }
    }

     
     
     
    As for your second requirement, we believe it requires more customization and perhaps you should consult your organization's IT staff or seek Microsoft technical support using the link below.
    https://admin.powerplatform.microsoft.com/support
     
     
     
     
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 30 Super User 2026 Season 1

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans