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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to enable editing of a checkbox button?

(0) ShareShare
ReportReport
Posted on by 843

Hello,

I added a checkbox to the standard VendReceiptsListJournal form by extension. Unfortunately, I cannot make this checkbox editable.... I think it is due to the fact that the this form is disabled editing and all datasources have the allowEdit = No property set. Is there any way to be able to edit my checkbox?  I have tried many ways, but with no success.

Thanks for all sugestions.

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: How to enable editing of a checkbox button?

    Hi Shooowtek,

    Is the checkbox is bound to DataSource?

    If the editable property of the DataSource is set to No, then it's not possible to edit the check box if that belongs to that DataSource.

    Instead, you can create a separate table with check box field and a reference field related to VendReciptsListJournal form and add that table as a DataSource to the form. You can add that check box field to the design and check.

    Thanks,

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: How to enable editing of a checkbox button?

    Hi, If Datasource allowEdit is No then you can edit the field. However, you can create dialog with checkbox so user can access it and it will update your checkbox. I had done similar requirement in past where form grid was disabled.

  • Shooowtek Profile Picture
    843 on at
    RE: How to enable editing of a checkbox button?

    The checkbox is linked to the data source in such a way that selecting it should call the modified executeQuery() method

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: How to enable editing of a checkbox button?

    How about calling executeQuery method and any code that gets executed on selection of the checkbox in your customization.

    Check this old thread for suggestions

    community.dynamics.com/.../can-not-make-data-source-field-editable

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 703 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 542

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans