In Salesforce Partner Community I want to use a custom JavaScript button.

It has this code:


var url = '/apex/ECH_VFP021_PoDCreateSavedCase?isdtp=nv&id=>{!PointofDelivery__c.Id}';
if (sforce.console.isInConsole() || '{!$Profile.Name}' == 'Chile Emergencies') {
} else {

When I click the button, I always receive this error:

GET https://*/support/console/30.0/integration.js net::ERR_ABORTED

Why do I get this error? How can I fix it?


First of all you should not mix up api version of the js libs, 26 and 30 in your case.

Also check different api versions e.g. 32, 33, ... 40

Also I've never seen the xdomain.js. Do you know what is does in detail?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.