function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SumanGiriHanmandlaSumanGiriHanmandla 

How to retrieve document using Migration tool

Hi,

 

I have configured package.xml with the below configuration:

    <types>
        <members>Test_Document</members>
        <name>Document</name>
    </types>

 when I run the ant migration tool, was expecting a documents folder to be created with the document specified above.

I have the below document in my developer org with the mentioned name. Here are the details of the doc:

 

Document Name -         Test Document
Document Unique Name -    Test_Document
File Extension -        odt
MIME Type -                application/vnd.oasis.opendocument.text

 

I have created a public folder and all users have the access both read/write. When I run the ant tool, it doesnt pull the document nor does it create the document folder.

What am I doing wrong here ?

Appreciate any pointers.

 

Thanks.