Skip to main content
I need to copy the Salesforce instace from one org into the other. Is there a way to have the admin of the other org export the page layouts so that I can rebuild them in my org or share them? I want to have the same layout and required fieds as the other org. Any advice?
1 个回答
  1. 2019年11月26日 20:48
    You can retrieve and deploy them using Apache Ant or Workbench, your package.xml would look like this:

     

    <types>

     

    <members>Account-Account Master Layout</members>

     

    <members>Contact-Internal Contact Layout</members>

     

    <name>Layout</name>

     

    </types>

     

    Here you can read about how to create xml components:

     

    https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/manifest_samples.htm

     

    Once your retrieve package is ready you go to workbench.developerforce.com and use the retrieve option.

     

    If you wanna deploy your page layouts from one sandbox to another or sandbox - production, you can simply use Change Sets:

     

    https://success.salesforce.com/answers?id=9063A000000iW3mQAE