Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Ribbon Workbench - New button to select checkbox

(0) ShareShare
ReportReport
Posted on by 12

If I wanted to place a new read only checkbox(FollowUpComplete) on a form and then use a new button to trigger that to be checked, how would I do that?
Also, if you could explain it like I'm seven, I'd appreciate it.

I've used RW in other ways, but not for anything like this before.

Other thread or videos would be welcome knowledge.

Thank you

  • elzool Profile Picture
    12 on at
    RE: Ribbon Workbench - New button to select checkbox

    Thank you Leah Ju!

    I'm glad I asked that it be explained like I was seven as I would have needed further assistance if you hadn't been as absolutely clear as you were.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Ribbon Workbench - New button to select checkbox

    Hi elzool,

    Based on your description, you want to update a field value through clicking the button, right?

    If so, you need use js code and call the function in the ribbon workbench.

    The checkbox field is one two options field, so it has two values:false and true

    1.Js code:

    function setCheckbox(executionContext)

    {

    var formContext = executionContext;

    formContext.getAttribute("new_testcheckbox").setValue(true); 

    }

    2.Add it to web resource:

    pastedimage1657771865627v2.png

    3.Open the ribbon workbench to add button and command:

    pastedimage1657771941049v5.png

    pastedimage1657771970436v7.png

    4.Test:

    pastedimage1657771983298v8.png

    After clicking button:

    pastedimage1657771792061v1.png

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans