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
balaji aluri 16balaji aluri 16 

New Button on User detail page

Hi ,

I am pretty new to salesforce development. I am having a requirement like 'i need to display a custom button on User detail page and it should be visible for few people only'.

I was trying to edit User page layout to add new button but not able to add that. Quick response would be appreciate.



 
Pavit SiddhuPavit Siddhu
https://trailhead.salesforce.com/en/modules/lex_customization/units/lex_customization_buttons_links
balaji aluri 16balaji aluri 16
Hi Pavit,

Thanks for your quick response.
I have went through the suggested link and still i cant add a new custom button to User page layout. In the following screenshot i am intending to add 'testbutton' button to User Detail section. Under 'User Detail' section we can see "Cannot be modified on user page layouts". But on Account and Opportunity i can add a new custom button. Stucked with User object only. Please assist me in resolving this.

User-added image

Thanks,
Balaji A
Dushyant SonwarDushyant Sonwar

Balaji,
Adding a button on user page layout is not possible in Salesforce. You can check below url for more detail.

https://salesforce.stackexchange.com/questions/41841/add-a-button-on-user-detail-page

Thanks,
Dushyant Sonwar