Find your content:

Search form

You are here

Page layout assignments with XML metadata API


How do I define page layout assignments for different record types via metadata XML files?

Attribution to: Baxter

Possible Suggestion/Solution #1

Going by what the Migration Tool produces, these are stored in the profile definitions. Here's an example from one of my org's profiles:

<?xml version="1.0" encoding="UTF-8"?>
<Profile xmlns="">
  <!-- Field permissions --> 
  <!-- Layout Assignments
  <!-- object permssions -->
  <!-- Record Type visibilities -->
  <!-- Tab Visibilities -->
  <!-- User license -->

Attribution to: Mike Chale
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content