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
lcefalolcefalo 

Custom Button gives me URL no longer exists error

Hi All, I created a custom button to update a couple of fields under the lead object.  While the button actually does update the fields when it refreshes the screen I get the URL no longer exists error.

 

Here is my code: https://na5.salesforce.com/{!Lead.Id}/e?retURL={Lead.Id}&lea13=Open&00N70000002TcQi=SAL&save=X

 

Any help would be appreciated.

 

Thanks!

Andy BoettcherAndy Boettcher

We can't see your code through that link.

lcefalolcefalo
That is a the code. It's a URL based button
paulmag32paulmag32

I assume you are still on na5 environment? I get that kinda stuff when I build in sandbox and promote to live