Someone just directed me to a neat little feature coming down the line in Winter ’11 – user profile photos!  If you’ve been developing with Chatter, you’ve probably wanted to display a user’s profile image.  One of our technical library articles provided a workaround, but it was a bit kludgy.

It turns out that in Winter ’11, the user object will have a few more fields, including a ?FullPhotoUrl (if you have Chatter turned on).

I’ve just tried it out in my Winter ’11 pre-release org, executing ?System.debug([select fullphotourl from user]);, which yielded

So, I popped along to ?, and there it was!

F 200×208 pixels.png

Yay!  I hope that makes it into the release!  You can learn more about the other Winter ’11 preview features on the release site of course.  Let me know if you find some other cool feature I missed!

Get the latest Salesforce Developer blog posts and podcast episodes via Slack or RSS.

Add to Slack Subscribe to RSS