I’ve had the opportunity to work in both Microsoft Dynamics™ CRM and Salesforce.com™. Both of these enterprise business applications are excellent customer relationship management tools and offer the ability to customize the systems to meet the client’s business needs for business process flow, high level business intelligence dashboard reporting and a customized user experience that tailors itself to the business process as well as the business rules of the client’s organization.
One of the common challenges is keeping your development environment in sync with the production environment. Coding in a development environment that is not in sync with production can lead to many hours of frustration trying to find the ghosts in the code. I find this especially true working in Salesforce.
However, Apex triggers can ONLY be developed in a Salesforce sandbox environment. Then a test Class and test Method must be developed in order to test the outcome of the code. Salesforce also requires that your test Method hit a high percentage of the actual code that is in the trigger. This is referred to as Code Coverage. Once the trigger code has passed Code Coverage and the test against the Method(s) are successful, you can then create an Outbound Change Set to send the code to the production environment. You then login into production and query Inbound Change Sets to find the one you just sent from the development environment. However, the code still has to be validated in production before it is actually deployed. This can be the big gotcha. If changes to production were made since the last time the development environment was synced from production, your code could fail production validation and be un-deployable. Then comes the pain of finding the delta between development and production in order to be able to troubleshoot the code in development so it will pass production validation tests.
There are times when it is better to save off your code from the development environment, sync production to development, then paste back in your code and begin the troubleshooting. However, this should never be done unless you are completely confident that nobody else is mid-stream with other development items or issues.
For more information about this blog or C5 Insight, please contact us here!
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.