I have created a custom tab "Pricing Approval" beside "Details" tab on the record page of opportunity. I want to visible this tab to only User. Please suggest any salesforce out of box functionality for this.
Hey This can be easily achieved using salesforce out of the box "Set Component Visibility Feature"
- Navigate to the record where the tab should be made available conditionally (In this case "Pricing Approval")
- On the top Right "Click on the Gear Icon and choose "Edit Page"
- Click on the tab that has to be conditionally rendered (In this case "Pricing Approval" tab)
- Click on the tab content and set the component visibility on the bottom right (Advanced -- Field User> Username EQUALS
Image for Reference