Oct 04 2022 08:44 AM
I've built a powerapp that patches data into a sharepoint list.
I want to offer the ability for users to stay anonymous, and can achieve this on the front end with no problems. However, the sharepoint list tracks who created the entry in the list. So, if you go to the row details, you can see who created it.
Is there any way I can either turn off this tracking or prevent that information from being passed from the powerapp?
Oct 04 2022 11:55 AM
Oct 05 2022 04:39 AM
@barryjarvis You cannot achieve this using only PATCH function in power apps. You have below options:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 05 2022 04:53 AM
You will need to use a Power Automate flow that performs a "Send an HTTP Request to SharePoint" Action to the url
_api/web/lists/getbytitle('list name')/items(<itemid>)/validateUpdateListItem
using this body
{
"formValues": [
{
"FieldName":"Title",
"FieldValue":"my new Title"
},
{
"FieldName":"MyOtherField",
"FieldValue":"mynewValue"
}
],
"bNewDocumentUpdate":true
}
You will have so specify which fields to set in the json array
https://www.concurrency.com/blog/may-2022/performing-a-system-update-of-a-sharepoint-list-item-throu...
https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/update-file-metadata-with-rest-api-...