Hello,
I am creating an app in which i Have a form with "due date " data card which is 30 days later than todays date. I want to create a button on another screen who let me extend this "due date" by next 30 days by click on it. I create funcion in this button:
DateAdd(ThisItem.'Duedate',30,TimeUnit.Days);
But it does not work.
How can I do this ?
Moreover I want to change the status column if the date is After "due date" to "outdated". Can yo help ?
"Network error when using Patch funcion: Conflicts exist with changes on the server, please reload"
This error usually comes up if there is mismatch in sharepoint and powerapp item.
for example you have a item title:TitleA
when you loaded the app you have TitleA
someone updated the item: TitleB
and you tried updating the item:TitleC (its trying to convert TitleA to TitleC but it should convert from TitleB to TitleC)
Ok, I found the problem is that column "Due date" is depend on another column : "Start date" the formula is:
due date = start day +30 are you not storing the Duedate in sharepoint?
Ok, I found the problem is that column "Due date" is depend on another column : "Start date" the formula is:
due date = start day +30
I use your funcion and I have an issue:
"Network error when using Patch funcion: Conflicts exist with changes on the server, please reload". What I did wrong?
Status is choice
Patch(ursharepointlist,ThisItem,{Duedate:DateAdd(ThisItem.'Duedate',30,TimeUnit.Days),Status:{Value:"outdated"}})
Status is Text column
Patch(ursharepointlist,ThisItem,{Duedate:DateAdd(ThisItem.'Duedate',30,TimeUnit.Days),Status:"outdated"})
I Assume due date is datecolumn
Please click Accept as solution and Thumbs Up. if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
You can connect with me on LinkedIn
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1