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, 4 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

    How to Choose the Right Salesforce Consulting Partner?

    Blog in Salesforce

    What is the secret to a successful Salesforce CRM implementation for an organization? Clear objectives, customization and configuration, seamless integration of third-party systems as well…

    budget, Cloud Analogy, Consulting Partner, CRM Implementation, Industry-specific Expertise
    Hennery cavil Nov 8, 2023
    1,462  Views
    Become an Advanced Salesforce Administrator - Exam Notes

    Become an Advanced Salesforce Administrator [Exam Notes]

    Blog in Others

    Have you ever doubted your skills of becoming an Advanced Salesforce Administrator? Most of us would have walked down that road, I’m sure. Whilst, some…

    Certified Administrator, MCQ, Salesforce Admin, Salesforce Administrator, Salesforce Certification
    Guha Jan 31, 2018
    9,841  Views

    Rev Up Your Business With Top 10 Free Apps On Salesforce AppExchange

    Blog in AppExchange

    Do you know many apps on the Salesforce AppExchange can assist in streamlining your operation and boosting your bottom line without any additional cost?  Installing…

    AppExchange, Applications, benefits of Salesforce AppExchange, Box, Campaign stats
    Algoworks May 11, 2023
    3,899  Views

    Popular Salesforce Videos

    How To Send Email Using Apex | Apex Salesforce Tutorial

    How To Send Email Using Apex | Apex Salesforce Tutorial

    Video in Salesforce Apex

    This tutorial will show how you can send emails using Apex. The following points will be covered - 1. Introduction Take a look at the…

    Salesforce Training, Salesforce Tutorial, Salesforce Apex, Apex, Salesforce Video
    Algoworks Mar 17, 2021
    3,661  Views
    An Introduction to Salesforce org Nonprofit Cloud

    An Introduction to Salesforce org Nonprofit Cloud

    Video in Salesforce For Nonprofits

    Did you know that over 30,000 nonprofit organizations use Salesforce? Salesforce.org’s premier product, NPSP, helps nonprofits drive greater impact by connecting everything they do. Learn…

    Salesforce Developer, Salesforce Lightning Experience, Salesforce Implementation, Marketing Automation, Salesforce CRM
    Pooja Nov 21, 2018
    2,639  Views
    The Salesforce and Stripe Integration Solution

    The Salesforce and Stripe Integration Solution

    Video in Salesforce Integration

    Salesforce professionals choose us because we’re different. Our intuitive software connects Salesforce with Stripe and is simple to set up and configure and safe and…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Video
    Algoworks Jul 28, 2021
    1,467  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®.

    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.