As the Form and Data Model pages are custom Visual Force pages, they have a limit of 1000 records. If while opening a new Form/Data Model page, the query for all relevant objects in your organization returns more than the allowed amount of objects, you will receive the following error message (example):
“Collection size 1 025 exceeds maximum size of 1 000″
You need to use the following workaround.
In the Developer’s console add and run the following code to generate new Form and Data Model.
Note: Change the Account name to the API name of the relevant object.
New Data Model:
doco__Dataschema__c b = new doco__Dataschema__c();
b.Name = 'DM test';
b.doco__Main_Object__c = 'Account';
doco__Form__c a=new doco__Form__c();
a.doco__Name__c = 'test';
a.doco__Dataschema__c = b.Id;
When using the Docomotion4CPQ package replace doco__ with doco4cpq__.