Showing posts with label apex. Show all posts
Showing posts with label apex. Show all posts

Friday, November 28, 2014

SOQL Query Editor as Chrome Extension

I as a developer always need to query Salesforce.com from developer console. However I feel its quite slow.

This tool allows you to query right from your chrome extension and show results beautifully. And best part, you can download results in excel :)

Do try this - https://chrome.google.com/webstore/detail/salesforce-soql-query-edi/fcbnphbbaaommndlpdaldnfejndammcc


Thursday, October 25, 2012

Change Password using apex code

setPasswordID userID
String password
VoidSets the password for the specified user. When the user logs in with this password, they are not prompted to create a new password. Use resetPassword if you want the user to go through the reset process and create their own password.
Warning
Be careful with this method, and do not expose this functionality to end-users.

e.g. System.setPassword('006A123ahjklkk','password123');