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
Carlos PintoCarlos Pinto 

Problems with trailhead Challenge, UI Customization - customizing Navigation, buttons and links

The challenge is to custom button Which opens the link to 'http://google.com/#q=<CONTACT NAME>' - where <CONTACT NAME> is the current contact's name. But to create the button link http://google.com/#q=<CONTACT NAME> it does demand.
So I tried the link: http://google.com/#q={!Account.Name}, where demand is correct. But while trying to complete the challenge shows the error:
User-added image
This is my button:
User-added image


User-added image
How can I solve the problem?
Best Answer chosen by Carlos Pinto
Carlos Campillo GallegoCarlos Campillo Gallego
Hi Carlos,

That is the Account Page Layout. You have to create this button for Contacts, not Accounts.

Regards

All Answers

Carlos Campillo GallegoCarlos Campillo Gallego
Hi Carlos,

First you should change that Account.Name for Contact.Name as the challenge requests, after this, make sure that you have added the button to the 'Contact Layout' page layout.

Regards
Carlos PintoCarlos Pinto
Hi Carlos,
and thanks.

I switched to Contact.Name , but the problem continues. And below sending the layout editing , which I think is correct.

User-added image
Regards
 
Carlos Campillo GallegoCarlos Campillo Gallego
Hi Carlos,

That is the Account Page Layout. You have to create this button for Contacts, not Accounts.

Regards
This was selected as the best answer
Carlos PintoCarlos Pinto

Thank you, is already working .

Regards
 
James Rich 4James Rich 4
I'm having so much trouble with this challenge. I follow it but it says "campaign" even when I switch it to contact on the field type.