Recent Comments
Popular Articles

Grant login Access to a...

Most often, you can give your company’s system admin to have the login option for your account. In this case, even if the admin doesn’t have your username and password, he can still login to your account by going to Manage Users -> Users   And he can click on the...

Open a window in new ta...

There is a tweak to do this. For normal cases: var win = window.open(url ,  ‘_blank’); win.focus();   However, my requirement was to insert a new custom object record through Ajax toolkit. And then redirect to the new record detail page. You can use the following code to...

Problem while querying ...

When you need to download the binary body of all the attachments in my organization, it becomes very difficult as the one record batch size for downloading base64 fields such as attachment is a limit enforced by Salesforce. You can do a backup to get an initial set of the files and then...

Add a custom button on ...

The only thing you need to do is create a LIST button instead of a detail page button. Only then, it will appear in related lists in page layouts

Deployment Connections

Deployment Connections User Permissions Needed to edit deployment connections:    “Deploy Change Sets” In order for change sets to be sent from one organization to another, a deployment connection is required between the organizations. Deployment connections can’t be created...

How do you remove butto...

For standard objects go to: Setup | Customize | <object> | <object> Search Layouts  Then click Edit next to <object> List View For custom objects: Setup | Create | Objects | <object> Then click Edit next to <object> List View Then uncheck the New button:...

Disable a custom button...

Suppose you need to click on  a button and then perform  certain time-consuming operations such as database updates. So, during this time, you are required to disable the custom button. This is how you can achieve it:   var btn =...

Problem with email temp...

You might stumble upon this situation when you are working with email templates in salesforce. In order to send email to customers, I tried creating an HTML email template. Then I used letterheads to frame the email logo, email body, header and footer. However, when I added this to a...