Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged

1

I would like to point Javascript driven execution: Javascript driven execution, where @RemoteAction methods are used from a browser to drive execution. Users have to keep their browser windows open. This is not the case anymore, with the growth of recent technology, you can run windowless browser via command line and write your scripts to run your VF page. ...


3

It seems to me this is very like your previous question, and likely has the same basic answer... The issue I see in your first batch is that the aggregate query does not limit the query for "maplastY" to those entries relevant to the bible instances in the scope. That means every call to execute will try to aggregate query over all 900000 telephone records ...


0

Also used this article to better understand fast create : https://salesforcesidekick.com/2015/08/24/how-to-use-a-fast-create/


3

Governor limits are a "resource protection" mechanism, not a "metering" system. The are intended to keep the system running smooth for the many tenants that share the same hardware ("multi-tenant design"). The governor limits for CPU time do not distinguish between code in a managed package and code that is not. The limit is cumulative for all code running ...


1

When an application is installed in an org, it consumes limits in that org. It does not consume any limits in the vendor's org unless some sort of callout is set up between the two environments. Salesforce does not charge vendors for people installing and using their packages.


2

Non-primitive data types are always passed by reference in Apex. So, you should clone the objects before modifying them for getting the copies. Implementing as below will remove the reference to original objects. for(Account act : accountToInsertAtype) { Account newAcc = act.clone(); newAcc.type = 'bType'; accountToInsertBtype....


1

You don't want to do Get Records and Update Records within a loop. Instead, you have to loop through your contacts and assign each ID to a collection variable. When that is done, you do the Get Records using the ID collection var and assign each contact to an Contact collection var. Then you loop through the Contact collection, assign the desired values ...


0

I apologize in advanced since the solution I will be providing is in Apex. For your first scenario, you could do this: //Can be called using Invocable Apex and passing in the //Running user Id public static Boolean canContinue(Id userId) { return ![Select AssigneeId From PermissionSetAssignment WHERE PermissionSet.DeveloperName =...


0

Not familiar with Talend, but if you are making one callout every 5 mins with it, you should be completely fine from an API limit standpoint, depending on the edition of Salesforce you are on and what other API callouts you are making in your org. You should review the Salesforce Api limitations here: https://developer.salesforce.com/docs/atlas.en-us....


Top 50 recent answers are included