I need to be able to retrieve a list of Document
s using the Metadata API.
According to the documentation, "To retrieve the list of documents for populating package.xml with explicit names, call listMetadata() and pass in DocumentFolder as the type." Contrary to this sentence, this call returns a list of DocumentFolder
s, not Document
s, which makes sense since we asked for a list of DocumentFolder
s.
I have the exact use case described by the docs, which is I need to "retrieve the list of documents for populating package.xml with explicit names." So, how do I get actual Document names?