Hi,I want to remove the attachments in Dataverse from powerapps.
I could delete it by writing the following code in OnRemoveFile of the attachment control of powerapps.
Patch(tablenameA,LookUp(TableNameA,ColumnNameA = CaseId),{ColumnNameB:Self})
But I don't understand why the attachment control itself, "Self", can empty the Dataverse.
Is this description correct? Is there a better way?