Sunday, January 12, 2014

Clutter free Salesforce schema builder experience

I recently spent quite sometime on Schema builder. One thing I always desired was more real estate to visualise more objects and stuff. Simplest things I could do to achieve this were

  1. Take chrome in full screen mode,  ⌘-Shift-F on Mac and F11 on Windows/Linux
  2. Hide side bar after adding required objects to the canvas. 

Next, I don't need this 1-2" of following Salesforce header while visualising objects.

salesforce website header

As I could easily quit schema builder by hitting browser back button or Close button (see screenshot below):

Salesforce Schema builder close button





Being a developer I use chrome developer tools a lot, so next quick dirty hack I could always do is hide/kill this Salesforce header, by deleting it from DOM using Chrome developer tools. 

But its not really neat, and I always have to do it. Some better solution should be there... ?

Thursday, January 9, 2014

Open list (GIST) of Salesforce blogs

Salesforce community is pretty vibrant and growing like anything. Quite a few times I found some new interesting Salesforce blog, and thought "how come I missed it ?".

Friday, January 3, 2014

Force.com Migration Tool installation on Mac OSX

I was setting up a Mac Machine, while installing Force.com migration tool, I was able to grab the zip file salesforce_ant_29.0.zip as per following steps mentioned in official guide.
  1. Log into a Salesforce organization on your deployment machine.
  1. From Setup, click Develop | Tools, and then click Force.com Migration Tool.
  1. Save the .zip file locally and extract the contents to the directory of your choice.
  1. Copy ant-salesforce.jar and paste into your Ant installation's lib directory. The lib directory is located in the root folder of your Ant installation.
I was stuck in last step #4, as I have to locate ant "lib" directory in installation folder.

Friday, December 20, 2013

Force.com MVP - Are you a good candidate ?

Since nominations for Winter'14 MVP are open, I got into discussions with many people regarding few repetitive points, like:

  1. How can I become a force.com MVP ?
  2. How do you become force.com MVP ?
  3. I'm awesome community guy, nominate me as MVP !
  4. Many people voted for me, why I was not selected as MVP ?
Lets take each point in bit detail.

Tuesday, June 4, 2013

Adding new fields can break existing visualforce pages

I recently came across an interesting discussion where adding new field to a Object broke some of existing code. It’s strange right, mostly removing or renaming fields is risky, as they could break some String expressions or merge fields.

Here is the error in one of the possible form for “Name” field

Unknown property 'VisualforceArrayList.Name'
Error is in expression '{!Contact.Location__r.Name}' in component <apex:page> in page abhinav:contactss

Here is one quick way to end up in this problem: