Monthly Archives: September 2018

Debug “Validation Errors While Saving Record(s)” error message when calling Test.loadData()

Sometimes when you use Test.loadData() you might receive some confusing error message saying “Validation Errors While Saving Record(s)”, it is hard to understand what is wrong in data so it is possible to use the following code to debug the problem So … Continue reading

Posted in salesforce | Leave a comment

How to get Base URL in Salesforce from managed package context?

I have modified an answer which I have found here.

Posted in salesforce | Tagged | Leave a comment