I need to automate assignment of default flexi page for both Desktop or Mobile experience. However, I am not sure how can I do that.
Where default flexi page assignment for a custom object is stored in metadata?
I need to automate assignment of default flexi page for both Desktop or Mobile experience. However, I am not sure how can I do that.
Where default flexi page assignment for a custom object is stored in metadata?
If you retrieve an Object, for example, Contract
, you may find the following sections
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Contract_Record_Page</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Contract_Record_Page</content>
<formFactor>Small</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<type>Default</type>
</actionOverrides>
which determine the FlexiPage assignments.