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

Change the automatic "Draft" subject name - SaveAppointmentAsDraft

(0) ShareShare
ReportReport
Posted on by 12
We have turned on the AllowSaveAsDraft setting on Appointments. After doing this, the Appointment name gets an automatic /[Draft]:/ text added to the front of the subject name (See image):
 
I would like to remove this.
 
This might be an obvious question, so all replies all very much appreciated!
I have the same question (0)
  • Verified answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    You can remove the draft prefix with JavaScript.
     
    function onload() {
            // Gets the HTML element for the title of the appointment entity.
           let title= window.top.document.querySelector("h1[data-id='header_title']");
     
           if(title){
            //If the title's HTML element is not null.
               
                let title_text = title.innerText;
                if(title_text.includes("[Draft]: ")){
                //If the title contains the /[Draft]: / prefix, remove this prefix.
                    title.innerText = title_text.replace("[Draft]: ","")
                }
     
           }else{
     
            //If the title's HTML element is null, it is refetched every 10 milliseconds until it is not null.
                setTimeout(onload,10)
           }
    }
     
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 158 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 57 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans