Skip to main content

Notifications

Announcements

No record found.

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

this needs to be done on form extension

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: When Button is clicked on Action Pane , fields become non editable and a field value changes to yes on form extension using x++

    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/.../

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: When Button is clicked on Action Pane , fields become non editable and a field value changes to yes on form extension using x++

    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.

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,162 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