In part one of this series, we covered how to leverage some of the settings from the user’s profile in Salesforce to control the locale settings in angularJS. In this post, we will build off that initial example and extend it to cover time zone conversions. This will enable us to see all the data presented to the logged in user in that user’s time zone. This example could be further extended to allow the logged in user to see the data presented in another user’s time zone. An example of this is if an activity, task, or event needs to be assigned to a user in a different time zone, it is created in their time zone, not the time zone of who has created the activity. As long as the correct time zone is pulled from their profile, the new task is created in their time zone using the techniques outlined below.
Tag Archives: Best Practices
Follow these 15 Apex Commandments for developing applications with Apex code and Visualforce.
The Salesforce1 Platform now supports PHP using Heroku. Learn how the new PHP can make your app development more efficient.
With the Spring '14 release, all Force.com developers have access to an exciting new tool: an "explain" parameter option in the platform's REST API. John Tan of Technical Enablement and guest author Chris Peterson have written an article that explains the Query Resource Feedback Parameter pilot and shows you how to use it to retrieve the query execution options that the Force.com query optimizer is considering. The article also gives you a simple Visualforce page and Apex controller to wrap the REST API call.
With the Spring '14 release, we're pleased to present a pilot of the long-awaited, most-requested feature from our partners - Usage Metrics. Take a deeper look inside your business by leveraging the Usage Metrics API or installing our Visualization Tool.
As we put another DevOps conference in the books, we reflect back on an amazing Day 2. We kicked off the conference with a panel of DevOps practitioners: Bruno Connelly, VP Engineering, Site Reliability at LinkedIn; Jeremy Carroll, Operations Engineer, Pinterest; Pedro Canahuati, Director, Production Engineering & Site Reliability at Facebook; and, Jason Wong, Director of Engineering, Infrastructure, Etsy.
We have seen some very impressive adoption rate amongst our customers and ISV partners in leveraging Canvas framework for building integrated composite applications on Salesforce1 platform. Based on some of the lessons learned and feedback received, we decided to publish this article to help our ISV partners understand their options when it comes to packaging Canvas for distribution and for support of different Salesforce1 platform editions.
Affecting a DevOps transformation at a large enterprise like salesforce.com is no small endeavor. Being one of the leading cloud companies in the industry however, well positions us to bring more DevOps practices into our organization. We practice DevOps principles every day, but a few times a year we set aside time to really level up. Tomorrow marks one of these times as we host our third internal DevOps mini-conference. We’ve found that spending this time together to discuss DevOps principles and to share knowledge on a level that reaches far beyond our daily interactions can pay dividends throughout the rest of the year.