Solved

Finding which package a file is used in Drawloop


Is there a report I can run, or another way, to identify which document packages a file is used in? I reuse the same file in many different packages, and I want to be sure when editing a file that I will not unknowingly break functionality in another package.

icon

Best answer by DocGenVinnie 21 August 2017, 22:54

View original

2 replies

Userlevel 4
Badge +8

Hey ‌,

We don't have anything built into the package but you might be able to create a Salesforce report off of the Document Package Files object.

Cheers,

Ryan

Badge +7

Robert, if you are comfortable with the developer console you could use the following to find the Document Package IDs and Names.

SELECT Loop__DDP__c,Loop__DDP__r.Name FROM Loop__DDP_File__c where Loop__Document_ID__c='DOC ID HERE'

Replace "DOC ID HERE" with your actual document id.

Example: SELECT Loop__DDP__c,Loop__DDP__r.Name FROM Loop__DDP_File__c where Loop__Document_ID__c='0159000000Dz17mAAB'

Reply