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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 131 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans