Activity Forums Salesforce® Discussions Do anyone have any idea about mapping external Id in bulk API?

  • Do anyone have any idea about mapping external Id in bulk API?

  • Surbhi

    Member
    June 30, 2016 at 1:26 pm

    Do anyone have any idea about mapping external Id in bulk API?

    Thanks in advance

  • Ravi

    Member
    July 1, 2016 at 9:18 am

    Hi Surbhi,
    If you are doing upsert operation through Api then you need to map externalId.
    In bulk Api you can map externalId by definng externalIdFieldName during job creation.

    <?xml version="1.0" encoding="UTF-8"?>
    <jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
    <operation>upsert</operation>
    <object>YourObject</object>
    <externalIdFieldName>ExternalIdField</externalIdFieldName>
    <contentType>CSV</contentType>
    </jobInfo>

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos