Hi all,
I was not entirely sure where to post this. I have an app that records data into Dataverse, but also saves multiple documents to a SharePoint document library using a Microsoft Graph API call.
My issue is: I use a ForAll function to see if the name of a document is already in my document library,
but when a document is not uploaded the app spits out an error message:
The app is currently working the way I would like it to, the issue is Soley the fact that the users see the error message. In all of my testing, the ForAll function works for preventing duplicate documents from being uploaded and even submits new ones regardless of that error message.
If anyone knows of a way to prevent the error from occurring, or another way to prevent duplicates in my SharePoint document library, I would greatly appreciate it.
I have tried:
and it does remove the error, but the issue now is that it spits out the "NCMR Updated" message for every attachment. I have tried to put the IfError formula on the outside of my ForAll function, but then the formula does not appear to add new attachments to my document library.
I will keep trying to make this work but will still happily take ideas if anyone has any.
Thanks for the time!
You might be able to use IfError to either change or suppress the error so it doesn't show
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional