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

    Increase your sales and boost your profits with the power of QuickBooks and Salesforce

    Blog in Salesforce

    Today’s digital-savvy and well-informed customers demand superlative and personalized customer service from every brand they interact with. They expect brands to know their preferences and…

    AWS, Bookkeeping, Business, CRM, CRM Platform
    SaaSnic Aug 4, 2020
    2,745  Views
    Salesforce CRM

    6 Easy Ways You Can Turn Implementing Salesforce CRM Into Success

    Blog in Salesforce

    Salesforce CRM, if executed properly can deliver phenomenal perks like improved customer satisfaction and high yielding lead generation and slashing operating costs. Good sales team…

    CRM, CRM Mistakes, CRM System, Salesforce AppExchange, Salesforce Applications
    Algoworks May 1, 2020
    2,037  Views

    Comparing Titans: Magento vs Salesforce Commerce Cloud Face-Off

    Blog in Others

    The first step towards the dynamic world of e-commerce starts with having a platform that can streamline everything from ordering to final delivery and customer…

    Best eCommerce Platform, CMS, Competition, Competitive Advantages, Customer Relationship Management
    Algoworks Jul 10, 2023
    1,709  Views

    Popular Salesforce Videos

    How Leadership Skills Helps to Shape Your Career? | Salesforce Learning

    How Leadership Skills Helps to Shape Your Career? | Salesforce Learning

    Video in Salesforce Training

    Leadership is an important skill to have because a good leader is able to bring out the best abilities in his/her team members and motivate…

    Salesforce Training, Salesforce Apex, salesforce, Apex, Salesforce Learning
    S2 May 24, 2022
    1,747  Views
    Prepare for TrailheaDX: Everything Salesforce Admins Need to Know

    Prepare for TrailheaDX: Everything Salesforce Admins Need to Know

    Video in Trailhead

    TrailheaDX is a one-of-a-kind virtual experience that connects makers, builders, doers, and dreamers looking to improve their Salesforce skillset. This year’s event includes exciting new…

    Salesforce Training, salesforce, Trailhead, Salesforce Trailhead, Salesforce Admins
    Pooja Jun 23, 2020
    2,018  Views
    Why Salesforce India is Primed for Growth

    Why Salesforce India is Primed for Growth

    Video in Salesforce Stories

    Amarendra Kumar, RVP of Alliances and Channels for India at Salesforce, says the region is poised for tremendous growth and opportunity over the next few…

    Salesforce Video, Salesforce Learning, Salesforce Customers, Market, Salesforce India
    Pooja Feb 10, 2021
    1,946  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.