Toggle Side Panel

  • Blogs
  • 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
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • 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
    • 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 8 years, 1 month 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.

    • [adinserter block='9']
    • 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

    Popular Salesforce Blogs

    Asynchronous Apex in Salesforce

    Here's All you need to Know About Asynchronous Apex in Salesforce

    Blog in Salesforce Apex

    Apex offers multiple ways to run your Apex code asynchronously. This can save you time and help you keep your code more organized.  Asynchronous apex…

    Asynchronous Apex, Batch Apex, Batch Apex in Salesforce, Batch Class, CronTrigger Object
    Nikhil Kumar Aug 31, 2022
    3,145  Views
    lightning data service

    Lightning Data Service (LDS) in Salesforce

    Blog in Others

    If we have a lightning application that Creates, Reads, Updates or Deletes a record (basically CRUD operations) in the Salesforce database, Lightning Data Service (LDS)…

    App Server, CRUD Operations, Database Server, Independent Call, Layout Type
    Anurag algoworks May 26, 2020
    33,872  Views
    Your 1st Step to Become a Salesforce Certified Platform Developer 1 - Exam Notes

    Your 1st Step to become a Salesforce Certified Platform Developer 1 [Exam Notes]

    Blog in Salesforce Certifications

    Are you one among the many who endeavour to become a proficient Salesforce Developer? Then, this would be your first step after the completion of…

    App Builder Certification, Certification Trailblazer, Certified Platform Developer 1, Newbie Salesforce Developer, Salesforce Certifications
    Guha Feb 6, 2018
    8,460  Views

    Popular Salesforce Videos

    Salesforce Trailblazer Answers Leaders on YouTube

    Salesforce Trailblazer Answers Leaders on YouTube

    Video in Trailhead

    At Salesforce we’re using the power of our Trailblazer Community with Slack Connect to scale self-help content creation. Watch this short video to learn how…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Jogender May 20, 2022
    4,750  Views
    How Easy (or Difficult) is it to Transition from Salesforce Classic to Lightning Experience?

    How Easy (or Difficult) is it to Transition from Salesforce Classic to Lightning Experience?

    Video in Lightning

    This video answers the question of: How Do You Transition Your Company from Salesforce Classic to Lightning Experience? ▪️ How difficult is it? ▪️ How long should…

    Salesforce Lightning, Salesforce Lightning Experience, Salesforce Implementation, Salesforce CRM, Learn Salesforce
    Pooja Feb 26, 2018
    2,401  Views
    Salesforce Nonprofit Cloud Explained

    Salesforce Nonprofit Cloud Explained

    Video in Salesforce For Nonprofits

    Discover how Salesforce Nonprofit Cloud helps organizations drive social change through better donor management, volunteer coordination, and streamlined operations. In this video, we'll explore the…

    Salesforce Nonprofit Cloud, Nonprofit CRM Solutions, Nonprofit Technology, Donor Management CRM, Nonprofit Management Software
    Dean Sep 5, 2025
    336  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

    © 2026 - 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®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.