+ Start a Discussion
Mike MinakovMike Minakov 

how to retrieve Account Layout with Migration Tool?

Hello, colleagues,

I am attempting to retrieve Page Layout of Account object via Migration Tool.

in package.xml I have added the following:

<types>
    <members>Account Layout</members>
    <name>Layout</name>
</types>

 

but I'm getting error:

[sf:retrieve] Retrieve warnings (1):
[sf:retrieve] package.xml - Entity of type 'Layout' named 'Account Layout' cannot be found
[sf:retrieve] Finished request 04sE0000001HboGIAS successfully.

 What may be the cause?

Thank you, 

Mike

Best Answer chosen by Admin (Salesforce Developers) 
SFFSFF

The name of the actual object is [Object Name]-[Page Layout Name], so the name of your page layout is probably "Account-Account Layout".

 

(No spaces.)

 

Hope this helps,