Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Marketplace
    • Advertise With Us
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How to retrieve all custom objects from Ant Migration in Salesforce?

    Tagged: Ant Migration, Custom objects, Metadata

    • Salesforce® Discussions

      How to retrieve all custom objects from Ant Migration in Salesforce?

      Posted by Anurag algoworks on August 21, 2018 at 11:55 AM

      How to retrieve all custom objects from Ant Migration in Salesforce?

      shariq replied 7 years, 2 months ago 3 Members · 2 Replies
      • Ant Migration
      • Custom objects
      • Metadata
    • 2 Replies
    • Parul

      Member
      August 22, 2018 at 6:12 AM

      Hello Anurag,

      To retrieve all custom object using Ant Migration Tool below code:

      <?xml version="1.0" encoding="UTF-8"?>
      <Package xmlns="http://soap.sforce.com/2006/04/metadata">
      <types>
      <members>*</members>
      <name>CustomObject</name>
      </types>
      <version>40.0</version>
      </Package>

      Thanks.

    • shariq

      Member
      September 14, 2018 at 10:42 PM

      Hi,

      For Standard Objects :-

      <?xml version="1.0" encoding="UTF-8"?>
      <Package xmlns="http://soap.sforce.com/2006/04/metadata">
      <types>
      <members>Account</members>
      <name>CustomObject</name>
      </types>
      <version>40.0</version>
      </Package>

      For Custom Objects :-

      <?xml version="1.0" encoding="UTF-8"?>
      <Package xmlns="http://soap.sforce.com/2006/04/metadata">
      <types>
      <members>*</members>
      <name>CustomObject</name>
      </types>
      <version>40.0</version>
      </Package>

      Hope this helps.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    application solution

    Popular Salesforce Blogs

    The Top Reasons to Invest in Salesforce Professional Services

    The Top Reasons to Invest in Salesforce Professional Services

    Blog in Salesforce Consultant

    In today's business world, technology is a big deal, and when it comes to making things work better, Salesforce is like the superhero of software.…

    Cloud Tools, Compliance, Consultation, Data Migration, Data Security
    Infodriven Mar 5, 2024
    701  Views

    5 Industry-Specific Use Cases Where Salesforce Development Services Deliver Maximum Impact

    Blog in Salesforce

    Salesforce, as a leading cloud-based customer relationship management (CRM) platform, is designed to help businesses enhance their sales, marketing, and customer service processes. With over…

    William Aug 8, 2025
    1,234  Views

    Top 10 Salesforce Consulting Companies Around the Globe

    Blog in Salesforce

    Building stronger customer relationships is the need of the hour in this technology-driven world. Salesforce, being the #1 CRM platform, helps your business accomplish this goal.…

    salesforcedeveloper
    Tech9logy Aug 1, 2025
    95  Views

    Popular Salesforce Videos

    How To Use Journey Builder In Salesforce Marketing Cloud | Salesforce Tutorial

    How To Use Journey Builder In Salesforce Marketing Cloud | Salesforce Tutorial

    Video in Marketing, Salesforce Cloud Platform

    How to use Journey Builder in Marketing Cloud. This video will cover the following points - 1. Introduction Get a brief introduction to Journey Builder…

    Salesforce Training, Salesforce Tutorial, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    Algoworks May 5, 2021
    2,053  Views
    How to Create a Salesforce Object Calendar

    How to Create a Salesforce Object Calendar

    Video in Others

    In this video, we show you how to create a calendar view for any object in Salesforce. This is a feature that can easily help…

    Salesforce Implementation, salesforce, Salesforce Org, salesforce consultants, Salesforce VIdeos
    Roycon Jan 17, 2022
    2,307  Views
    Fillable PDFs for Salesforce Field Service

    Fillable PDFs for Salesforce Field Service

    Video in Salesforce Field Service Platform

    The ability to generate fillable PDFs for Salesforce Field Service can be a powerful tool. We demonstrate how to use PDFLib, a JavaScript library that…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Field Service
    DB Mar 24, 2022
    1,693  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2025 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.