Issue:

During installation, it is possible that some larger and older Organizations will hit their limit of available Salesforce Field relationships. The errors will only present themselves one at a time, so it is possible that you will need to resolve multiple issues in a single install.

Error Message:
(Activity.DealQuestion__c) Custom Relationship Limit Exceeded
Cannot create new relationship. Each Object can have no more than 25 custom relationships, including Master-Detail and Lookup relationships

ANSWER:
Remove a Custom Relationship field
or
Increase the limit to 50.


The 'soft' limit is 40. If you are currently using 40 custom relationships then you can submit a request to Salesforce to increase the amount to the 'hard' limit of 50.

ClosePlan requires 3 Custom Relationships

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

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!)

  1. Create a New Report Type

2) Create the Report

Group Rows:

Columns:

Filters:

Your report will look similar to this: