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
venkyyyvenkyyy 

In Detail Page Want to be place custom button on top only...

Hi all,

Using page layout i have created a custom button for detail page, by default it will be placed top and bottom of the page,, what i am expecting is: want to be set the button on top of the page as like cancel, save, quiksave button. what can i do for that,,

can anybody clear it to me... 

Thanks in advance.
Sumitkumar_ShingaviSumitkumar_Shingavi
Hello,

So are you looking for hiding this custom button on bottom of the page and just keep it on top of page? If yes, then you can't do it in salesforce so not feasible. You might find some JS suggestions for hiding custom buttons but don't use them as that's not a good approach due to "id" specific implementation.

Thanks,
Sumit