Visualforce

Quickly Identify the Salesforce Theme That Users See in JavaScript

If you use a lot of JavaScript in your pages and apps, identifying the Salesforce user experience helps you manage navigation in your JavaScript code. Detecting the Salesforce theme used to require multiple steps and utility functions. The streamlined process involves below new function: UITheme.getUITheme() : returns a string that indicates the current user’s interface […]

Continue reading

Update All Contacts Related to Account

Are you looking to update all Contacts from Account Detail Page in salesforce. Then here is my solution for you to update all your contacts at one place. All you need to have one custom Detail Page Button in account layout which is override by Visualforce page Here is the sample code

Apex Page […]

Continue reading