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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

When Button is clicked on Action Pane , fields become non editable and a field value changes to yes on form extension using x++

(0) ShareShare
ReportReport
Posted on by 2

this needs to be done on form extension

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Sachin, if you need all fields to be non editable you can then set datasource allow edit to false and update the required field to yes. This will make it non editable for all records, so you need to write condition on active method of datasource to make it active for records where button is not clicked probably where that field value is No.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    You can do that in extension of clicked method.

    Please check below url for reference.

    This blog helps you to get the ds and make it editable. Just change the true to false in your code. And update the field using update statement.

    anithasantosh.wordpress.com/.../

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans