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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patching "Status" colu...
Power Apps
Answered

Patching "Status" column of dataverse

(0) ShareShare
ReportReport
Posted on by 91

I would like to patch a record making status "Inactive".

But it shows error "Network error when using Patch function: The specified column generated by the server and can't be specified."

Is there any way to patch the "Status" and "Status Reason" columns?

 

My code is as follow:

 Patch(
 'Service Options',
 Defaults('Service Options'),
 {
 Service: "Field App",
 Option: "Upload / Download Fail",
 Status: 'Status (Service Options)'.Inactive,
 'Status Reason': 'Status Reason (Service Options)'.'Incomplete Information'
 }
 )

 

I don't want to make default "Status" as "Inactive".

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @ynaing,

    Yes you can Patch a record as inactive but it cannot be done on create, it must be done after the record is created. So first created the record and then you can update it as inactive like this:

     

    Patch('Service Options',
     Patch(
     'Service Options',
     Defaults('Service Options'),
     {
     Service: "Field App",
     Option: "Upload / Download Fail"
     }
     ),
     {
     Status: 'Status (Service Options)'.Inactive,
     'Status Reason': 'Status Reason (Service Options)'.'Incomplete Information'
     }
    )

     

     

    You can also update directly if the item is selected from a gallery meaning it has already been created:

     

    Patch('Service Options', MyGallery.Selected,
     {
     Service: "Field App",
     Option: "Upload / Download Fail"
     Status: 'Status (Service Options)'.Inactive,
     'Status Reason': 'Status Reason (Service Options)'.'Incomplete Information'
     }
    )

     

     Hope this helps!

  • ynaing Profile Picture
    91 on at

    Thanks for your answer.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard