I have a Library.
The Library contains existing (inheited) files, and new files are added.
Some of the new files will have the same name as the existing files.
I have a basic 'New Document' Flow, connected to a PowerApps buttons, that uploads the attachment to the Library.
Trigger: PowerApps
Create File: Site: Site; Path: Library;
File Name: PowerApps CreateFile_Name...;
File Content: Expresssion: base64...;
Respond to PowerApps: SharePointFileLink Site/Path
Everything works fine, if it's a 'New' document.
If the document already exists in the Library and I am trying to update the existing, as formatted the Flow creates a new version with no file extension.
How do I add a 'Delete File' action in the Flow language above that will take the 'CQTitleUnqID' available to me from the PowerApps Gallery (and used in the Library as the documents UniqueID), to delete the existing version - and ONLY that document, and then follow through with the 'Create File' piece of the flow?

Report
All responses (
Answers (