I am currently trying to update a record with the following code:
Refresh(Ressources);;
If(
ThisItem.Active = 1;
Patch(
Ressources;
ThisItem;
{Active: 0}
);;
UpdateContext({varIsActivated: false});
Patch(
Ressources;
ThisItem;
{Active: 1}
);;
UpdateContext({varIsActivated: true})
)
Somehow I run into the ETAG Error Message. I already viewed other posts about this problem. I am using this code on the OnSelect property of an icon.