Salesforce Weekly Newsletter

Salesforce newsletter

Top new questions this week:

Creating Holidays and Business Hours in Test Code

I have been creating a Business Hours Calculation engine in the past few weeks and have gotten some great help on a few questions I've already asked (BH in Apex, BH and Holiday Affiliation). I have …

apex unit-test test businesshours holidays  
asked by sfdc_ninja 11 votes
answered by brovasi 1 vote

Where can global protected members be used?

The documentation for access modifiers states the following for protected: This means that the method or variable is visible to any inner classes in the defining Apex class, and to the classes …

apex  
asked by Peter Knolle 10 votes
answered by user320 6 votes

Total number of SOQL queries issued

In a SOQL query with parent-child relationship sub-queries, each parent-child relationship counts as an additional query. These types of queries have a limit of three times the number for …

governorlimits limits  
asked by Natallia 9 votes
answered by crmprogdev 2 votes

How to "deep clone including Attachments" without hitting the heap space governor limit?

I'm working on a "deep clone" Visualforce page where starting from an object, that object and its child objects and its grandparent objects and so on are cloned and that logic works fine. But any …

apex attachment clone  
asked by Keith C 8 votes
answered by Alex Tennant 3 votes

OAuth Connected App without Identity Provider Enabled

Working on a project where the client wants to be able to use OAuth to login to an external website backend. The documentation for setting up OAuth doesn't actually mention enabling the IDP so I'm …

oauth2 connected-apps  
asked by NSjonas 8 votes
answered by Ralph 8 votes

How to set both onInstall and seeAllData to true for a test method

I tried to set SeeAllData = true for the test method with OnInstall = true. But I was not able to save the test class if I use "@isTest(OnInstall=true,SeeAllData=true)", so I saved it with …

failing-tests  
asked by ynl124 7 votes
answered by sfdcfox 10 votes

Apex Code Coverage: Test classes are included with 0% in overall code coverage calculation

We are making heavy use of stub and mock objects in our Apex tests. Most of the time we are defining the mocks as inner classes of our test classes. We have noticed, that test classes, which do …

apex unit-test code-coverage  
asked by Alexander Johannes 7 votes
answered by mrBlaQ 3 votes

Greatest hits from previous weeks:

Code Coverage column for apex class missing

I used to view % of code coverage in [Code Coverage] column for apex classes, after I run the test class. Now the column is missing. I notice about one week ago. How can I get it back as it is so …

apex unit-test developer-console code-coverage winter14  
asked by kitokid 17 votes
answered by sfdc_ninja 14 votes

Scheduling an Apex Job through the ui

I am not sure if my memory is failing me, but I was sure there was a way to schedule an Apex Job through the Salesforce UI. The documentation here only makes mention of using the cron syntax. and …

scheduled-apex  
asked by Daniel Blackhall 16 votes
answered by DerekLansing 22 votes

Can you answer these?

Data changed by trigger for field owner id owner cannot be blank

I'm getting an error "Data changed by trigger for field owner id owner cannot be blank" which is very interesting because I'm not actually doing anything with any OwnerId's, and the research that I …

apex trigger unit-test  
asked by EricSSH 1 vote

Unsubscribe from SMS Keyword through API

I am trying to use the FUEL API to unsubscribe a mobile number from a particular keyword on a private shortcode. I would be fine with a global opt out on that private shortcode, as well. I have tried …

rest-api exacttarget  
asked by Alex Finger 1 vote

Incoming SMS HTTP Post Back

Is there a way to configure MobileConect to fire HTTP Post back events to partner API when incoming SMS is received on a particular long number instead of having to poll for deliveries?

rest-api api httprequest  
asked by Daniel Carrion 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3