Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 912 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 912 Bytes

Salesforce Document ID Parser

A short script that parses the JSON output when dumping Document IDs from a Salesforce CDN

About

I wrote this up quickly to convert the JSON output you get when dumping document IDs from a Salesforce CDN via the poc_salesforce_lightning tool by Moniik into an easy file.

This should be able to create the list of IDs from the output of "entityNameOrId":"ContentVersion" & "entityNameOrId":"ContentDocument"

Usage

Simply run this and in the command line arguments add the JSON file. It will output the list of IDs in a file called "Salesforce_Document_IDs.txt". This expects the output to look the same as from the above example from Clark Voss, and i made this quickly for one use, so no promises it works.
python ./main.py /path/to/file.json