I need to implement a custom “Destroy Document” button in M-Files Web.
Requirements:
- Button should be visible only to specific users (with permissions, e.g., Records Manager)
- When clicked:
- Selected document content should be deleted
- Metadata must remain for record/audit purposes
- “Destroyed Date” property should auto-fill with the current date
What’s the best way to achieve this in M-Files Web?
(UIX + VAF or any recommended approach?)
Any guidance or similar implementations would be helpful.
