function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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"

 extensions="GeneratePromissoryNote"
 action="{!autoRun}"
>
  <apex:sectionHeader title="Auto-Running Apex Code"/>
  <apex:outputPanel >
    Error!
  </apex:outputPanel>
</apex:page>

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

Thanks