how to add menu in record and move from one to another menu

lets say i have added 4 buttons next to the header what do i need to do when i click on that button it should display different data in that menu tab.

Suppose if i click on education details it should display degree related info.

Hi Rohith,


If you want to show specific fields upon clicking a button, you might want to use “hide/show fields” API. And every time button click event is called, hide/show fields is changed on record details page. Here is an example of the code.


 educationDetailsButton.onclick = function() {

     // hide/show fields API"fieldcode","true/false")



▼ Record Details Event Under “Show/Hide fields”