Monthly Archives: December 2016

Debugging “System.LimitException: Too many SOQL queries: 101”

Earlier I have described a way to get the list of SOQL queries in transaction Decided to create document with advanced javascript code now Advertisements

Posted in javascript, salesforce | Tagged , , , , | Leave a comment

Excellent news! Update inactive user in Apex Test will work without license limit exceeded exception just in Summer 17!

I received today excellent news! Salesforce decided to fix known issue about update inactive user in Apex Test when there are not enough licenses in Summer 17! So very soon every deployment related to user functionality will take much less … Continue reading

Posted in release, salesforce | Tagged , , , , , , , | Leave a comment

The simplest way to get custom field id dynamically in Lightning

I have a lightning component where I need to display link to related list of children relationship record for given custom object record. Since I developed this application on sandbox, I can’t hardcode this link since it will change after … Continue reading

Posted in custom, field, salesforce, Uncategorized | Tagged , , , , , | Leave a comment

Salesforce: how to check if profile is custom or standard by code

When I needed to grant access to some object to all profiles I understood how is it possible to  profile is custom or standard by code   public static Boolean isStandardProfile( String profileName ) { List<PermissionSet> ps = [ select id … Continue reading

Posted in Profile, salesforce, User Management | Tagged , , , , | Leave a comment

Salesforce Developer way of granting access to SObject to all profiles

Recently I have described a point-and-clicking way to grant access to SObject to all profiles. It is interesting that there is another way is for Salesforce Developers, which is shorter and concise. You can just open Developer Console and copy … Continue reading

Posted in Profile, salesforce, User Management | Tagged , , , , , , | Leave a comment

Salesforce Administrator way of granting access to SObject to all profiles

There are two ways of granting access to an object to every single profile in organization. In this post I will describe the first possible way which is useful for Salesforce Administrators since this way doesn’t need to write any … Continue reading

Posted in Administration, Posts in English, Profile, Uncategorized, User Management | Tagged , , , , , , | Leave a comment

Salesforce Google Analytics Tracking Application

Over the weekends I have implemented a Salesforce Google Analytics Tracking Application by request on one guy who didn’t pay me for that application. I spent 500 USD of time to implement and support that application and 500 USD of time … Continue reading

Posted in package, salesforce | Tagged , , , , , , | Leave a comment