0

I want to create a detail custom button named 'Maps' in contact object. I created custom button the proper way. I added the button in proper page layout along with some other standard and custom buttons. On checking the details page, I did not see any custom buttons. The layout was not followed. I saved and refreshed but to no avail. The layout is followed in classic mode but not in lightning mode. Other display types except Detail Page Button work. They open the URL but behavior is not followed. It always opens URL in a new window. Please help. Here is how I created the button

page layout

contact detail page buttons

2

1 Answer 1

2

The addition of button in the 'detail' section adds the button only in classic mode. To add the button in lightning mode or mobile application, add it in the 'salesforce mobile and lightning action' section. See the below image.

Proper way to add detail button in lightning mode

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .