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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / getting an error with ...
Power Apps
Unanswered

getting an error with patch function even though it works

(0) ShareShare
ReportReport
Posted on by

 

Patch(Kapazität1; colK);;

 

Kapazität 1 is a sharepoint list!

 

the error i received is and the error only occurs on start  :

 

The column is is ride only and cannot be changed!

 

 

 

But it still works !

Categories:
I have the same question (0)
  • timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    @Anonymous 

    Does your colK collection contain any read-only columns, such as columns that contain server generated SharePoint values like Created, CreatedBy? If so, you can try calling the RemoveColumns function to remove those which may remove the error message.

  • Community Power Platform Member Profile Picture
    on at

    yes, it does but i need some of the columns for some operations !

    And i do not update any of these server generated values!

    is it okay to let this slide because it works ? 

     

  • timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    Hi @Anonymous 

    If it works, I'd let it slide. However, I'd probably run the Monitor tool to see if it shows the column that Power Apps thinks is read-only because it would be useful to know what that is.

  • Community Power Platform Member Profile Picture
    on at

    if i run the app from the menu then no error is shown!

    Only if edit the appand run the app in the development environment then the error occurs! 

    {
     "status": null,
     "duration": null,
     "dataSource": null,
     "responseSize": null,
     "controlName": "Button19_4",
     "propertyName": "OnSelect",
     "nodeId": 3,
     "formulaData": {
     "script": "\r\nPatch(Kapazität1; colK);; Select(Button_Kapa_3);; Set(varGridEdit1; !varGridEdit1)\r\n \r\n",
     "spanStart": 2,
     "spanEnd": 25
     },
     "data": {
     "errorMessage": "Netzwerkfehler bei Verwendung der Patch-Funktion: Die angegebene Spalte ist schreibgeschützt und kann nicht geändert werden.",
     "raiseToastNotification": false,
     "wasReported": false,
     "functionName": "Patch",
     "context": {
     "entityName": "Button19_4",
     "propertyName": "OnSelect",
     "id": 2918,
     "nodeId": 3,
     "diagnosticContext": {
     "span": {
     "start": 2,
     "end": 25
     },
     "formula": "\r\nPatch(Kapazität1; colK);; Select(Button_Kapa_3);; Set(varGridEdit1; !varGridEdit1)\r\n \r\n"
     }
     },
     "info": "Netzwerkfehler bei Verwendung der Patch-Funktion: Die angegebene Spalte ist schreibgeschützt und kann nicht geändert werden."
     }
    }
  • Community Power Platform Member Profile Picture
    on at

    what can i do now ?

  • Simon23 Profile Picture
    2 on at

    Have you found a solution to this problem?
    I have the same error and can't get any further.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard