+ Start a Discussion
Nigel FNigel F 

Custom Button with visualforce - URL No Longer Exists

I have a number of Acount page layouts driven by Record Types.

Since winter 16, the Custom buttons on these pages that fire VisualForce pages are failing with a "URL No Longer Exists" message. They were working fine before.

The Custom buttons with visualforce on single page layout objects work fine.

The common differentiator (where its failing) is that the URL for the Account is prefixed with MME.xxx.salesforce.com... This MME prefix is not present where the buttons work fine.

The visualforce code being invoked from the custom button is :

<apex:page standardController="Account"

  <apex:sectionHeader title="Auto-Running Apex Code"/>
  <apex:outputPanel >

Its probably very obvious, but can anybody point me int he right direction to resolve this ?