ANT、Force.com IDE、または Workbench を使用してリリースした後、特定のプロファイルおよびすべての S オブジェクトの [レコードタイプ] でページレイアウトが割り当てられておらず、「未割り当て」と表示される場合があります。
理想的には、リリースされているプロファイルは、レコードタイプとページレイアウトと一緒に 1 回のトランザクションで取得される必要があります。つまり、ソース組織からリリースペイロードを取得するとき、以下のコンポーネントも同時に抽出する必要があります。
1.プロファイル
2.レコードタイプ (オブジェクトの一部)
3.ページレイアウト
こうすることで、プロファイルのファイルの一部として、次の XML が取得されます。
<layoutAssignments> <layout>Opportunity-PagelayoutName</layout> <recordType>Opportunity.RecordTypeName</recordType> </layoutAssignments>
これらの <layoutAssignments> タグが存在すると、ページレイアウトの割り当てが行われるようになります。
これらのタグが含まれていない場合、システムはレイアウトの割り当てのための参照を見つけることができません。リリースペイロードで提供された情報に従ってすべての変更が置き換えられ、ページレイアウトの割り当ては削除されます。
したがって、<layoutAssignments> タグがプロファイルのファイルに含まれていない場合、リリース時にページレイアウト割り当てが削除されますが、それは設計どおりの動作です。
000382756

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.