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
glorgeglorge 

Error in Migration Tool documentation?

Looking at the Force.com Migration Guide, under Using the Force.com Migration Tool | Constructing a Project Manifest | Specifying Standard Objects, the following example code is listed to retrieve metadata for a Standard Object:

Code:
<—xml version="1.0" encoding="UTF-8"–>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <member>Case.EngineeringReqNumber__c</member>
        <name>CustomField</name>
    </types>
    <types>
        <member>Account</member>
        <name>CustomObject</name>
    </types>
    <version>13.0</version>
</Package>

However, I think the "member" tags should be pluralized:

Code:
<—xml version="1.0" encoding="UTF-8"–>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Case.EngineeringReqNumber__c</members>
        <name>CustomField</name>
    </types>
    <types>
        <members>Account</members>
        <name>CustomObject</name>
    </types>
    <version>13.0</version>
</Package>

This actually took me a bit of time to figure out - so I'm hoping I can save someone else some time by posting here (or else get it corrected). 

JonPJonP
Thanks for bringing this to our attention!  We'll fix this in the next release of the Force.com Migration Guide.
JonPJonP
Last night we released a new version of the Force.com Migration Tool Guide, correcting these and other minor errata.

http://www.salesforce.com/us/developer/docs/daas/index.htm (link)


Message Edited by JonP on 08-15-2008 09:31 AM
glorgeglorge
Thank you!