
Announcements
Good afternoon.
Trying to make a button that would delete an image file in the sharepoint library.
First i have a variable set when gallery item is selected.
Set(varUrl, DataCardValue35.Image)
That displays the url for image file.
But when i try to run the flow below, then nothing happens. Image file still is in sharepoint.
'PowerApp->Deletefile'.Run(varUrl)
Any ideas why?
Getting a failed flow :
Okay, i did way around this.
Now using:
RemoveIf(TestSP, Name = "3655008")
This removes the file, but when i refresh/ reload app then image still is displayed in the app. However image is deleted from the document library.. And if i use direct link to the image them image being displayed anyway in the sharepoint library, ( even if it's not there ). Deleted from recycle bin but still shown.. Don't understand why...
EDITED: now i know why file is still displayed, I did try to upload new image with same name and if i just click on it in sharepoint then right picture is displayed, but if i select option to view original then some old picture is displayed.. How this is possible? Does sharepoint save some previous data and having problems displaying it?