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
Aurélien.LavalAurélien.Laval 

URL No Longer Exists for custom link in Salesforce1

Hello, I'm trying to use a custom link in a page layout in Salesforce which execute a Javascript redirection.

It works in Salesforce but not in Salesforce1 (Android phone), why?

That's my code in the custom link :
document.location.href="https://cs18.salesforce.com/00U/e?who_id=*****";



I can't get an answer on the internet. :/

Thank for the help.
 
SonamSonam (Salesforce Developers) 
Yes, I'm getting an error in S1 saying URL doesn't exist.. Did you try keeping this link on a VF page to see if that works?
Aurélien.LavalAurélien.Laval
Of course, the links works in a Visualforce page.

I think and I readed for the moment, Salesforce doesn't support URL custom field..