ArchiveNovember 2012

Display multiple markers in Google Map

D

<html xmlns=”; <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> <title>Google Map</title> <script type=”text/javascript” src=”; <script type=”text/javascript”> var markers = [ [‘Bondi Beach’, -33.890542, 151.274856], [‘Coogee Beach’, -33.923036...

Convert Lead Through Apex Salesforce

C

The following code automatically converts a lead into an Account/Contact, skipping creating an opportunity and redirects to the newly created Contact page. Apex Class: public class Nanostuffs_clsConvertLead { public PageReference convert() { try { String id = ApexPages.currentpage().getParameters().get('id'); Database.LeadConvert lc = new Database.LeadConvert(); lc.setLeadId(id); lc...

How to create Passes for passbook in iOS6

H

Passes are everything in your pocket Apple’s simplified explanation of passes is that they are “everything in your pocket.” I like that line very much, because it demonstrates so well how imaginative you can and should be about creating your pass applications and services. Passes can be anything. “But what are they, anyway?”, you might ask. Well, here’s how a pass looks on the iPhone: You can...

How to add a custom button to contact in salesforce

H

Open you salesforce developer’s account: Go to Setup->Customize->Contacts->Buttons and Links-> Custom Buttons 1. Create custom button 2. Create a tab corresponding to the page and custom button 3. Check out the parameter id in button link or url Sample code for custom button on contact page: Task: I’d like a custom button written for Salesforce which I could install on the...

Force.com IDE – JVM terminated. Exit code=-1 Error [Solved]

F

Just installed Force.com IDE on my Win7 Desktop, using the standalone installer from Salesforcewebsite. This is a pulse based installer that installs Force.com IDE as an eclipse plugin. However, once the installation finished I was greeted with the following error: JVM terminated. Exit code=-1. Below is a screenshot of the error pop-up.. How to solve this issue : In my case the problem was that ...

Category