Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Edit Warning text in record form

Posted on by 10
Hi!
 
I have a Dynamcis 365 Customer Service Workspace application deployed in our organization. I have a warning notification that is being shown when I add an additional contact or email adress to the Required field when creating an appointment on an account record.
 â€‹â€‹â€‹â€‹
 
I would like to change the text (or just remove the last sentence). I have tried to edit the on the entity in the Power Apps editor. However, the changes i made or not being shown. 
 
Does anybody have some tips or a solution for this?
 
All responses, correct or not, are appreciated! 
  • Suggested answer
    AzAddict Profile Picture
    AzAddict 12 on at
    Edit Warning text in record form
    Yes, Dengliang Li is correct, it is not possible to edit those system messages as of now. Your solution will be to suppress the OOTB message, and write your own in JS.
     
    var currentControl = formContext.getControl(your_fieldName);
    var notificationId = "BannerNotificationId";
    
        if (validation_of_your_field_value_here)) {
            currentControl.setNotification("Some of the recipients are outside of your organization", BannerNotificationId);
        } else {
            currentControl.clearNotification(BannerNotificationId);
        }
    }
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Edit Warning text in record form
    Hi,
     
    Unfortunately, I'm afraid that's not possible.
    This warning notification is dynamically generated by the system.
    I tried to use this JavaScript interface to listen to the addition of the HTML element where this warning notification is located and modify its text. But the result will be a dead loop.
     
    I'm afraid you can only remove the warning notification.
     
    Best Regards,
    Dengliang Li
     
     
  • SG-29041047-1 Profile Picture
    SG-29041047-1 10 on at
    Edit Warning text in record form
    Hi!
     
    I was trying to add an image of the warning message, but the post did not allow it for some reason. 
     
    The thing is that we have enable Server Side Synchronization for our users, which means that they can send out invitations to meetings from CRM. When you add another contact to the original account meeting, this warning message is shown:
    "Some of the recipients are outside of your organization. These recipients will also receive this appointment when you save it."
     
     
    The thing is that i want to change this message, so that it only shows the first sentence:'
    "Some of the recipients are outside of your organization"
     
     
     
     
     
     
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Edit Warning text in record form
    Hi,
     
    I can't see the image you posted.
    Do you mean that in the Account entity, clicking on the plus button in the timeline, creating a new appointment (quick create), and a warning will appear when adding additional contacts or email addresses to the Required Attendees field?
     
    If so, I don't see any warnings, only when the required fields are empty to save, I see warnings like the following:
    Subject : Required fields must be filled in.
     
    Best Regards,
    Dengliang Li
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans