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 › XML to migrate Salesforce Record Type using Ant?

    Tagged: Apache ANT, Page Layout, Picklist, Record Type, User Profile, XML

    • Salesforce® Discussions

      XML to migrate Salesforce Record Type using Ant?

      Posted by Ajit on April 30, 2016 at 3:46 PM

      Want to migrate Salesforce Record Type using Ant but as a Record Type is dependent on page layout, profiles, picklist values so can anybody provide me the exact xml by which I can retrieve all the dependent components.

      Gourav replied 9 years, 8 months ago 2 Members · 1 Reply
      • Apache ANT
      • Page Layout
      • Picklist
      • Record Type
      • User Profile
      • XML
    • 1 Reply
    • Gourav

      Member
      June 2, 2016 at 1:33 PM

      try this xml hope this will help you:-

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

      <types>
      <members>*</members>
      <name>Profile</name>
      </types>
      <types>
      <members>*</members>
      <name>Layout</name>
      </types>
      <version>30.0</version>
      </Package>

    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

    Are You Missing Out? How Salesforce DevOps Tools Can Transform Your Workflow

    Blog in Salesforce

    Introduction: Picture this: you're knee-deep in a Salesforce deployment. The clock’s ticking, stakeholders are waiting, and an unforeseen error crashes the build. Sound familiar? For…

    Salesforce DevOps, salesforce devops tools, Salesforce Ecosystem
    TechForce Aug 1, 2025
    152  Views
    Exception Handling in Salesforce

    Exception Handling in Salesforce

    Blog in Salesforce Apex, Salesforce Tutorial

    Exception: "An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions." Don’t forget…

    DML, DML Exception, DML Statements, Exception Handling in Apex, Exception Handling in Salesforce
    Aman Apr 17, 2018
    53,480  Views
    Salesforce Product - Marketing Cloud

    Salesforce Product : Marketing Cloud

    Blog in Salesforce Products

    Salesforce Product : Marketing Cloud A platform with seven primary products that helps to reach out your customers at the right time, with the right…

    Data Studio, Email Studio, Journey Builder, Mobile Studio, Salesforce DMP
    Archit Jan 30, 2018
    9,245  Views

    Popular Salesforce Videos

    Lightning Component Development - 01 - Basic of Lightning Framework, Component Bundle, App Builder

    Lightning Component Development - 01 - Basic of Lightning Framework, Component Bundle, App Builder

    Video in Lightning

    What is covered in this session? * What is Lightning Component Framework? * Lightning Component Across Salesforce Ecosystem * When to use lightning component? * Where…

    Salesforce Development, Salesforce Apex, salesforce training videos for beginners, Free Salesforce Training, Salesforce Lightning
    Shiv Kumar Sharma May 21, 2018
    2,823  Views
    What is the Difference Between Profile Vs Permission Set?

    What is the Difference Between Profile Vs Permission Set?

    Video in Salesforce Admin

    What is the difference between Profile Vs Permission Set? The profile is mandatory for the users in Salesforce. A permission set is one thing that…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    CRS Oct 25, 2021
    2,042  Views
    What is a Salesforce PDO Partner?

    What is a Salesforce PDO Partner?

    Video in Salesforce Stories

    Salesforce market is growing very fast these years. It is estimated that in 2021 the Salesforce ecosystem will be worth around 100 billion U.S. dollars.…

    Salesforce Products, Salesforce Integration, Salesforce Partner, salesforce, Salesforce Ecosystem
    Algoworks May 18, 2021
    2,334  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.