Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to enable editing of a checkbox button?

(0) ShareShare
ReportReport
Posted on by 737

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.

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 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

  • Shooowtek Profile Picture
    Shooowtek 737 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

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 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.

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans