You need to sign in to do that
Don't have an account?

How to define id:String in Console..im getting openPrimaryTab: Invalid ID:
How to define id:String in sforce.console.openPrimaryTab instead of null in salesforce? here is the code that im using,
and im getting openPrimaryTab: Invalid ID: error. any help?
function OpenTab() {
sforce.console.openPrimaryTab('{!contact.ID}', '/apex/contactPage?scontrolCaching=1&id={!contact.ID}', true,'contact');
}
and im getting openPrimaryTab: Invalid ID: error. any help?
function OpenTab() {
sforce.console.openPrimaryTab('{!contact.ID}', '/apex/contactPage?scontrolCaching=1&id={!contact.ID}', true,'contact');
}