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
SFDC coderSFDC coder 

Custom button of type detail page button not visible in salesforce 1

Hello All,

I have a custom button of type Detail Page Button 
Content Source is : URL
Code :/apex/EventOrderLink_SF1?id={!Event.Id}

The VF page EventOrderLink_SF1 is also marked as Available for Salesforce mobile apps and Lightning Pages.
Also  i have added this to the event layout section named Salesforce1 and Lightning Experience Actions.

Still when i log into the salesforce 1 i cannot see the button on the layout. Any suggestions?

Thanks in advance..
 
sharathchandra thukkanisharathchandra thukkani
Page Button with Content Source as URL It is not supported in salesforce 1. Please refer below link

https://help.salesforce.com/apex/HTViewHelpDoc?id=actionbar_overview.htm&language=en_US
 
SFDC coderSFDC coder
Hi sharath,

As per the link below i see that its possible. But not sure why its not working for me
https://developer.salesforce.com/trailhead/customizing_user_interface/ui_nav_buttons_links
sharathchandra thukkanisharathchandra thukkani
I dont see anything which says about Button with url is supported in salesforce 1..

"Custom links, custom buttons that are added to list views, and custom buttons that define the content source asURL or OnClick JavaScript aren’t supported and don’t appear in Salesforce1."


Serach of these word in the link which i have sent you.


To do this you need to create action on the object with  action type as visualforce page and write javascript in that which will redirect you to the url you want