Increase rollup fields maximum

Recently we started transition from Dynamics CRM 2011 to 2015. As part of transition we started using rollup fields. There are some limitations for that feature:

You can define a maximum of 100 rollup fields for the organization and up to 10 rollup fields per entity.

Which we faced on our dev organization during solution import.

You can't add a rollup field. You’ve reached the maximum number of {0} allowed for this record type.

You can't add a rollup field. You’ve reached the maximum number of {0} allowed for your organization.

It wasn't hard to find that settings in DB and adjust them a bit:

Add-PSSnapin -Name Microsoft.Crm.Powershell

Set-CrmAdvancedSetting -ConfigurationEntityName Deployment -Setting MaxRollupFieldsPerEntity -Value 11
Set-CrmAdvancedSetting -ConfigurationEntityName Deployment -Setting MaxRollupFieldsPerOrg-Value 110

Note that this settings are in deployment scope and will affect all organizations. Also it may have impact performance.

Show Comments