Skip to main content
Hi, I made a misstake. We have some lightning pages related the opportunity object. And to separete the new pages from old pages/record type only for some profiles. I use the Assignments By App, Record Type, and Profile in the activate functionality for lightning pages. It worked, but when I need to do changes i recevies an error.

There are too many page assignments on this object for us to handlethe problem is that it can't be undone. The recomendation from Salesforce is to find the Metadata XML and it seems to be related to force-app/main/default/applications. We have several XML files because we have several apps depnding of the role in our company. in these XMLs I found a lot of ActionOverrides related to Laouts, record types and profiles: <profileActionOverrides>

<actionName>View</actionName>

<content>NEW_Opportunity_Layout_1_0</content>

<formFactor>Large</formFactor>

<pageOrSobjectType>Opportunity</pageOrSobjectType>

<recordType>Opportunity.kuga_sub__New</recordType>

<type>Flexipage</type>

<profile>B2BMA Integration User</profile>

</profileActionOverrides>

My question here: should I only delete them all or is there a quicker better way to do this?
2 risposte
0/9000