function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sai kumar 625sai kumar 625 

Page layout Actions and lightning record page deployment issue using Ant migration tool.

Hello All,

I am deploying page layouts and lightning record pages from source org to target org with ANT Migration Tool. When I retreive the page layout, the <platformActionList> order is not getting retreived in the page layout file and when I deploy, the "Salesforce Mobile and Lightning Experience Actions"  on the page layout in  QA org is displaying all actions eventhough they are not on source org page layout, which also makes lightning record page buttons to  look different from source org. How can I overcome this issue. Please help me with. Thanks in advance.
 
Raj VakatiRaj Vakati
You need to retervie and migrate the flexi page
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flexipage.htm?search_text=platformActionList
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>New Opportunity Page Package</fullName>
    <description>Contains an opportunity page with a rich text component that has rules assigned</description>
    <types>
        <members>New_Opportunity_Page</members>
        <name>FlexiPage</name>
    </types>
    <version>41.0</version>
</Package>