web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Booking Setup - Auto Generate Booking default to 'No'

(1) ShareShare
ReportReport
Posted on by
We don't want to use the Auto generate booking on the Agreement Booking Setup, so would like to default this to 'No' when creating a new Agreement Booking Setup.
I've changed the default option to 'No' on the table column in PowerApps, however, it still stays as 'Yes' on the form within FS.
 
Is there an issue with changing the default option on this field, as no matter how I try to do it, I can't seem to set the default option to 'No'.
 
Any ideas?
 
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    I encountered the same issue as you in my testing.
    You can use JavaScript to set the Auto generate Booking field to No the first time you save or every time you open the Agreement Booking Setup form.
     
    function onload(executionContext){
        var formContext = executionContext.getFormContext();
     
        //get the Auto Generate Booking field
        var Auto_Generate_Booking = formContext.getAttribute("msdyn_autogeneratebooking");
     
        // set the Auto Generate Booking field to No
        Auto_Generate_Booking.setValue(false);
    }
     
     
    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
     
  • Suggested answer
    TH-27040906-0 Profile Picture
    7 on at
    Hello @barryjarvis,  I would suggest creating a business rule for this. 
     
    Go to >>Tables>>Look for "Agreement Booking Setup">>Business Rules. 
     
     
    Use an existing field value for the new business rule, see below
     
     
     
    Note: I see some code out of the box that may be overriding the Default No. 
     
    Always Happy to Help!
    Tony Hurtado
     
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
KristineRisberg Profile Picture

KristineRisberg 33

#2
11manish Profile Picture

11manish 31

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 21 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans