...
NOTE:
If you are already at 50 custom relationships, you must remove an unused or deprecated custom relationship on the Activity Object to install ClosePlan.
Please review your Custom relationships to find one to free up.
Troubleshooting
Inspired by an install for DataRobot in April 2023 - Thanks Deepak!
The client clearly had 37 Custom Relationship Fields on their Opportunity Object, but the install failed.
Solution: Go to the Object > Fields & Relationships > Deleted Fields.
Deleted Fields will count against the total until they are deleted by Salesforce 2 weeks after they are moved to the Deleted Fields list. The Client’s Salesforce Admin can delete the fields immediately to free up a needed field against the count.
A Report you can use to quickly find all fields in a Client’s Org
Here is a report you can use to find all the Custom Relationship Fields (except those in the ‘Deleted Fields’ list!)
Create a New Report Type
Create a Report to find all Custom Relationships
In the Client’s Org, go to Setup
Search: Report types
Click the ‘New Custom Report Type’ button
...
Primary Object: Entity Definitions
Report Type Label: Custom Relationship Lookup
Description: As needed
Store in Category: Other
Select "Deployed" >Next
Click "Click to relate another object' > ‘Field Definitions’ select: "Each "A" record must have at least one related "B" record.' > Save
Create the Report
Create a new report and select Custom Relationship Lookup report type
...
Group Rows:
Qualified API Name (from the Entity Definition table)
Columns:
Relationship Name
Data Type
Filters:
...
Show Me: All entity definitions
Created Date: All Time
Is Customizable? equals True
Qualified API Name (from 'Field Definition' table) contains "__c"
Data Type contains lookup
Click Save & Run
Save the Report to the ClosePlan folder. If it does not exist, create it.
Your report will look similar to this:
...