Hi all,
I am using the upload files feature for creating generative answers. Anyway, I am uploading about 100 files, which are changing sometimes. It is possible to upload all files at once, but I have not found any possibility to delete all or selected files that are not relevant anymore. It is quite odd to delete each file https://learn.microsoft.com/en-us/microsoft-copilot-studio/nlu-documents
I have searched in Dataverse tables but I have not found the storage location - my idea was to create Bulk Delete Job.
Any hints on how to find and delete the files in bulk?
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%Escape::
ExitApp
ReturnF1::
Loop
{
Click 680, 395
Sleep, 20
Send {Down}
Sleep, 20
Send {Down}
Sleep, 20
Send {Enter}
Sleep, 50
Send {Tab}
Sleep, 20
Send {Enter}
Sleep, 50
Send {Enter}
}
return
Hi @ryjan
I finally found a workaround using Power Automate: you can list the rows that are type "Bot File Attachement" and then perform an "unbound action" with the "DeleteFile" action.
Here is a test where I go list a particular file I want to delete from my Copilot:
Once I have listed the files, I can access them with their fileID and unbound them from the table (it will keep the record but remove the actual file data - which will make the file disappear from the UI in Copilot Studio as well)
In the meantime I have opened a feature request for our product group to add the ability to delete in bulk from the UI.
Hope this help.
Remi
I am still looking for a workaround - in the meantime could you please open a support ticket? this looks like a bug to me. thank you
You are right - I have the same issue. Let me see what I can find about this!
Hi @remidyon, thanks for suggestion. Unfortunately the table is read-only, even if I am System Administrator in that environment
When trying to delete them from the default solution, I get an error message:
Hi @ryjan
Only solution I can see is to delete the files from the Dataverse table (documents are in the table chatbot subcomponent, type Bot File Attachment)
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional