-2

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?

2
  • 2
    fyi, there's plenty of questions relating to this: 1, 2, 3, 4 Nov 9, 2021 at 14:14
  • @OleksandrBerehovskyi, no, the question is not about application settings
    – Patlatus
    Nov 9, 2021 at 15:23

1 Answer 1

0

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.

Not the answer you're looking for? Browse other questions tagged .