Questions tagged [limits]

Salesforce imposes maximum limits on selected features. The stated limits for the features may vary based on the Edition.

Filter by
Sorted by
Tagged with
3
votes
2answers
2k views

How many batches can I run in 1 schedulable class

I have 5 batch classes (implements Database.Batchable). I was able to add all of them in a single schedulable class (implement Schedulable) and schedule it successfully (code below). It worked. ...
0
votes
3answers
449 views

Show character cont in input box as user types

two quick questions involving character limits in text fields. 1) Is it possible to not include spaces when determining whether inputted text exceeds the character limit? 2) Is it possible to have ...
0
votes
0answers
149 views

API Limit increase in Developer ORg

We have a developer org where we have API Org limit of 15000 but we need to increase the limit to 2,00,000. Can this be increased with help of salesforce.com support.
3
votes
1answer
353 views

How do I avoid API limits during data migration?

We are doing a data migration to salesforce involving millions of records. We use Informatica Power Center, and we are querying data from an external database and inserting and updating records in ...
1
vote
2answers
73 views

Error handling for page that queries more 50,000 rows

I have a VF page that allows a user to perform dynamic searching in filter on an object. The user can easily specify a query that will result in more than 50,000 records. I would like to catch ...
0
votes
2answers
636 views

Script to Insert 1 million Records of OpportunityContactRoles [closed]

I want to create a script that will insert 1 million records of OpportunityContactRole. I have 1 million Opportunities as well as 1 million Contacts and i want to create record of 1 ...
0
votes
1answer
111 views

SingleEmailMessage Limitation in developer and in production Environment

Good day everyone, I am using SingleEmailMessage in developer and it seems that there is a limit of emails that can be sent. I just want to know if is it still limited in the production environment ? ...
5
votes
0answers
43 views

How to best cope with No more lookup filters in Managed Package context?

In my managed package (delivered to many customer orgs) I have active Lookup Filters on CustomObject__c. I planned to add two more but ran into the "Max. 5 Lookup Filters per Object" limitation. How ...
3
votes
2answers
165 views

STORAGE_LIMIT_EXCEEDED gridlock

So I have a full copy sandbox that is at ~130 % data storage. I can't seem to do anything without getting a STORAGE_LIMIT_EXCEEDED exception. I've tried: Contacting support to see if they could ...
2
votes
1answer
396 views

Email Limits in salesforce

could you say me the exact limit of Single Email limit and mass email limit Of a enterprise Org Single Email Limit and mass email limit Of a Professional Org Single Email Limit and mass email ...
0
votes
3answers
901 views

Collection size 33,046 exceeds maximum size of 1,000 error in vf page

I have an issue here, where i need to populate geography__c list on vf page. I am getting the below error . I can't use Limit 1000 as i need to display all the records in vf page. Is there any ...
1
vote
1answer
365 views

How does the API count increase when i uses a REST API

How does the API count increase when i use a REST API. I have a REST API apex class to insert records into a custom object, and I am trying to figure out how many API calls it takes to process one ...
2
votes
1answer
661 views

How to find current storage limit usage in Salesforce (in tests)?

We have Limits class and lot of methods showing current usage of DML statements, SOQL queries etc, but there is no method which shows total amount of storage capacity for records and no method which ...
2
votes
1answer
637 views

How to determine the Remaining Email in apex

Integer email_left = Limits.getEmailInvocations(); system.Debug('Used Email: '+email_left); Integer emailLimit = Limits.getLimitEmailInvocations(); system.Debug('Email Limit: '+emailLimit); I got the ...
1
vote
1answer
460 views

Outbound Message - Limit on Number of Fields?

Is there a maximum number of fields that can be sent through an Outbound Message? I cannot find it documented anywhere.
2
votes
1answer
464 views

Understanding API Limits

I know this question has been asked here, but something doesn't quite add up. I'm reading the API Request Limit Page and I have a few questions. What does the minimum column mean in the Total API ...
1
vote
0answers
89 views

API call counts if use Salesforce Workbench Developerforce

I recently had issue with my org with exceeded request limit and I usually used developer console a lot but if I use workbench.developerforce will that still be count as API calls and account to my ...
1
vote
0answers
94 views

Tab limit exceed, how to check the most/less visited tabs and the actual tabs

This is slightly different question to the one asked on How do I see how many custom tabs have been created? and I think it could be handy. I have the same issue as him, I have more custom tabs that ...
6
votes
2answers
1k views

How to Reproduce the Concurrent Requests Limit?

I'm trying to write code that will reproduce the Concurrent Requests limit (10 requests longer than 5 seconds, described here: https://developer.salesforce.com/blogs/engineering/2013/05/force-com-...
2
votes
1answer
95 views

Formula field - Compiled formula is too big to execute

You probably have been facing such issues in the past, the Formula field I wrote to calculate the Time remaining to complete cases seems to hit a size limitation. The problem arises when I try to ...
5
votes
2answers
853 views

Queueable Execution Time Limitation

I've got a trigger on opportunities (after update) that enqueues a job using a Queueable apex class. What are the limitations I'm going to hit if opportunities are update very frequently? Will ...
-1
votes
1answer
409 views

Use group by and limit at the same time in Salesforce report

Good day everyone, I have question about salesforce Report. Suppose I have a product object with field product_name and quantity. Now I want to create a report that will get the total quantity of ...
2
votes
1answer
127 views

Apex CPU time limit exceeded on running on lists until empty

I am trying to upload documents through Queueable Apex. My intention is to complete all the callouts and then run the logout request to a third party server. I ran into an issue with the exception '...
2
votes
2answers
1k views

API Usage limits

I was trying to find limits of Rest API calls an org can made in a day. This article 'API Usage Limits' helped me until a particular line confused me which says Any action that sends a call to ...
1
vote
1answer
685 views

Salesforce code limit

We have a fairly large salesforce product with a large code base. We are going to hit the code limit of 3,000,000 very soon. I have read in forums that salesforce can increase the limit if we can ...
1
vote
0answers
50 views

Custom Lookup on Activity Not Found in Apex

I have the beta version of the ability to create custom lookup fields on activities enabled. So when I create a look up field to Account I would expect to see 3 relationships to account: AccountID, ...
2
votes
1answer
65 views

Is there a limit on how many custom objects that can be inserted at the same time?

When I insert over 200 records it stops at 200. Here is the code: try { Database.SaveResult[] srList = Database.insert(customObjs); // prints 203 which is what I expect system....
1
vote
2answers
306 views

Insert multiple records don't work

I have a visualforce page where I insert 7 records at once. Each record has 14 fields. When I only seize some of the fields, the query works, the 7 records are created. But when I seize more, the ...
4
votes
1answer
929 views

Planning to avoid API requests exceeded last 24 hours

We are planning to do daily integration runs to salesforce using informatica from an external system. The volume of records are expected to be between 50,000 to 300,000 and this will be done on ...
2
votes
1answer
42 views

SOQL Error = Activity Limits?

I've been told by a contractor that the code they've written (which is causing errors) is tied to a known Saleforce limit where a record may have a maximum of 5000 activities associated with it. And ...
1
vote
3answers
212 views

Maximum of 42,000 Account records returned by query

We are writing an integration service between one of our systems and SFDC. The problem we are running into with the syncing of the data is that we're only able to sync 42,000 Account records from ...
2
votes
1answer
296 views

Apex heap size error - VF dowloading attachments

I have one VF page from where I am trying to download some attachments - The time I tried to download attachments which includes Attachments of size 4 MB+ size, it start showing me this error. ...
4
votes
1answer
180 views

Salesforce to Salesforce Record Transfer Limits?

Does anyone know of any limits on the number of records (daily) transfered/updated between orgs? My google foo has failed me and I do not see anything specifically related to this. While I would love ...
0
votes
1answer
3k views

Data Storage Limits Exceeded (extra overflow buffer)

I have an issue with my Developer License. When I try to create, for example, a new Opportunity the System give me the below message back: "Data Storage Limits Exceeded Your company currently has ...
5
votes
2answers
3k views

Apex Email Limits Clarification

I need to send a (potentially large) number of emails to (community) users via code using an Email Template, with a custom object as the whatId. Because my whatId is a custom object, I am using ...
7
votes
5answers
4k views

96% code already used. How to manage it?

We are using a developer sandbox for development. When i go to System OverView > Business Logic > Code Used, i see that we have already use 96% of the amount of code we can write. Can we get it ...
2
votes
1answer
482 views

How can I get a list of existing cross-object references without hitting the limit?

I am auditing our org - I'm aware that we're close to the cross-object reference limit on OppLineItem and Asset because we've hit it before, but have been able to rationalise various rules, formulas ...
1
vote
1answer
56 views

What are the tradeoffs of rendering partial Visualforce content in an iframe?

I have a Visualforce page whose controller extension is calling a class to make a web service callout and displaying some data on the page. I'm in the process of optimizing the Apex and page away from ...
2
votes
1answer
61 views

Get Custom Field Limits using API

Salesforce has defined custom field limits in the given link. For eg :- Limit for Custom Fields for Developer Edition Org is 500 Custom Fields per Object. We can also request Salesforce and increase ...
3
votes
0answers
113 views

How can we keep our tasks accessible to view and report on while not having them count against the data storage limit?

The org I am working with right now is using 210% of its allotted data storage. Most of the storage space is taken up by tasks (over 31M records). Is there a way to decrease the data usage while ...
1
vote
2answers
1k views

System.LimitException: Too many query rows: 50001 for Test Class

I have come across this error in production but in a test class where I am defining 5 rows only , how come I'm facing this error ? Also there was no error in QA but error in Dev and Prod. List<...
2
votes
2answers
154 views

Salesforce Data Volume and Limit

If we have 7,000 Sales Reps, each sales rep creates 2,000 records per day. So the total records in a month will be 7000*2000*25 = 350,000,000. It’s a large data, how the salesforce handle these data?
2
votes
1answer
203 views

Does a 304 response count toward api-usage count?

When making an API call with If-Modified-Since header - if the response returns with a 304-Not Modified will that use one of my call allocation? Also can the If-Modified-Since if supplied in a list ...
1
vote
1answer
578 views

apex batch queries

I am creating a batch apex that takes some objects and move them to a new custom object before deleting them. I also need to delete other objects connected to the first one, therefore I would need to ...
0
votes
0answers
4k views

Salesforce Workbench unknown asynchronous state

I've been using the workbench to test queries that I'll later run through the Restforce Gem to pull data into a Rails app via the REST API. The app is looking to build a report on a client object, ...
4
votes
1answer
8k views

Exact differences between Partner Community License and Enterprise Edition

We are SI and ISV partners and I'm looking for an detailed feature comparison between regular Enterprise Edition Licenses and Partner Community Licenses. Best thing I found is this: https://help....
0
votes
2answers
347 views

Rate limit on Metadata API?

Is there a rate limit on the Metadata API? I seem to have caused some massive problems by using the Migration Tool a bit too frequently.
0
votes
1answer
100 views

Error using Limits class

Following is the code where Salesforce is showing error: "Compile Error: Variable does not exist: Limits" if(updatedContacts.size() + Limits.getDMLRows() > Limits.getLimitsDMLRows()) { // ...
8
votes
1answer
525 views

What does Limits.getAggregateQueries() represent?

Per the Limits class documentation, there are a pair of methods for "aggregate queries": getAggregateQueries() Returns the number of aggregate queries that have been processed with any SOQL ...
4
votes
1answer
2k views

Custom Field Limits For Managed Packages

The documentation on global limits says this: The custom objects contained in a managed package publicly posted on the AppExchange don't count against the limits for your Salesforce Edition. ...

1 4 5 6 7 8