Skip to content

Script to clear CCD metadata added to DM Store#1113

Open
tchow8 wants to merge 2 commits into
masterfrom
Clear-CDAM-Metadata
Open

Script to clear CCD metadata added to DM Store#1113
tchow8 wants to merge 2 commits into
masterfrom
Clear-CDAM-Metadata

Conversation

@tchow8

@tchow8 tchow8 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

On CCD Submission, attached case note documents will get their metadata in DM store updated with the CCD case reference. The problem with this is we store the hash token of the document upload at the time of upload, and we don't run any dynamic updates that stored value after the CCD submission, so attempting to submit the same document will fail with a hash verify failure, since the hash is calculated using the metadata for that document.

This is a python script to clear that CCD metadata in DM Store so that the hash calculation matches whats stored. This script must be run locally. Read the script top of page comments for more info on how to run and the pre-requisites.

@tchow8 tchow8 force-pushed the Clear-CDAM-Metadata branch from f43d776 to f354e54 Compare June 9, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant