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
sunny sengar 17sunny sengar 17 

How can i change Custom Button or Link icon for Salesforce1.

Salesforce1
AbhishekAbhishek (Salesforce Developers) 
Sunny,

Normally it is not possible.

The workaround would be to create a custom action just for Salesforce1, perhaps replicating the action of the button with JavaScript that redirects the user to the Visualforce page.

Someone submitted an idea to Salesforce for this fix if you'd like to vote for it:

https://success.salesforce.com/ideaView?id=08730000000DoTIAA0

Until then I'll likely need to replicate buttons with actions. With Summer '15, it looks like there's a new option on the page layout that allows you to override which actions/buttons are shown on Salesforce1 vs the desktop so we won't have to have duplicates.


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.