Comments (3)
Same issue here. Not really sure where the col size comes from.
Deosn't match sourc eamuotn of records (990) or the amount of records in the org (2.3k).
Collection size 1.835 exceeds maximum size of 1.000.
from custommetadataloader.
I experienced the same issue with more than 2200k records. After researching on the Apex Classes contained within the package, I got a workaround that will help you to upload more records without having this issue.
If you go the the CustomMetadataUploadController, at the line number 83, you will see this:
selectQuery = selectQuery + ' FROM ' + selectedType
This will query and pull all the records from the Custom Metadata Type that you are trying to insert records to. I added LIMIT 1000
to the query; blocking the visualforge page to pull more than 1000 records per load.
This workaround will help you to upload records, but It will not be able to match if there are duplicates or not (since it won't be able to check with the entire dataset).
The line should look like this selectQuery = selectQuery + ' FROM ' + selectedType + ' LIMIT 1000';
from custommetadataloader.
@acorellaefx93 I made this update and am now getting
Maximum view state size limit (170KB) exceeded. Actual view state size for this page was 175.267KB
any ideas on this one? My feeling is that we need an update and a load button in this tool so that you can have a limit query for updates but I am an admin and only a declarative developer.
from custommetadataloader.
Related Issues (20)
- Error occured processing component CMDT.XXX.Email: invalid email address: XX (INVALID_EMAIL_ADDRESS)
- Error while deploying in production HOT 2
- [Bug] DeveloperName disregarded when Label also present in file.
- [Bug] Tool allows mulitple Separator Types in a single file
- [Bug] Tool does not parse BOM properly HOT 1
- [Bug] Returned vlaues go over visualforce heap size limit HOT 1
- Error deploying package
- How to delete this tool from sandbox ? HOT 1
- Parsing Error HOT 3
- IO Exception: Exceeded max size limit of 6000000 HOT 4
- INVALID_OPERATION: rollbackOnError option must be true on a production org
- The number of field values does not match the number of header fields on line2 HOT 5
- Web service callout failed: WebService returned a SOAP Fault: 'Tier 2' is not valid for the type HOT 1
- Error when loading a relationship field HOT 1
- Remote Site Settings Issue HOT 6
- Field XX in account is not available in this org due to insufficient privileges
- Web service callout failed: WebService returned a SOAP Fault: Cannot flip on commit allowed, disabled by:Commit Not Allowed By DBContext:Protect.Apex.Transaction.Contract HOT 1
- Getting Field Header error when they match, even with Sample csv HOT 3
- Web service callout failed: WebService returned a SOAP Fault: Only the following configurations are supported : 1) if the type is mentioned i.g. type="xsi:boolean" 2) With metadata CRUD API with fullName required faultcode=soapenv:Client faultactor=
- An error has occurred while saving dataAttempt to de-reference a null object---117
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custommetadataloader.