Category Archives: Salesforce

setTabIcon in Service Console is not showing full icon/image.

By | May 25, 2017

Recently I came across service console in Salesforce, Where I need to show the tab Icon for a custom visual-force page. There is a standard method setTabIcon() , which we can use to set the tab icon. This method works fine if we have image/icon of exactly 16*16 px. But if our image/icon is larger, than its… Read More »

SOQL Datetime literal in javascript for current Datetime.

By | April 19, 2017

Sometimes we need to use AJAX toolkit to do some SOQL/DML on Data from a custom button, which executes javascript. Here in this post we will just get current Datetime and then we will create datetime literal as per SOQL standard to fetch some records as per requirement. For more information about SOQL date/datetime formats Click… Read More »