+ Start a Discussion
Diane Dougherty 7Diane Dougherty 7 

Trying to finish Custom Button Challenge, but Error preventing it

 I created itand tested-it opens Google, has the contact's name in search and opens the Google search with results, but the error reading "Challenge Not yet complete... here's what's wrong: 
The 'Google Info' custom button does not appear to be linking to 'google.com' and passing the Contact's Name field." 
User-added image
User-added image

Please advise on what is incorrect in the challenge - the button works as expected.
Best Answer chosen by Diane Dougherty 7
Amit Chaudhary 8Amit Chaudhary 8
Please check below post with step by step process with screen shot
1) https://developer.salesforce.com/forums/?id=906F0000000BPIOIA4

To clear this challange you need do below steps:-

Step 1 :- Create a Button on contact object like below 
Step 2 :- Link detail should be like below.

Name :- Google_Info
Button or Link URL :-  http://google.com/#q={!Contact.Name}
Display Type :- Detail Page Button

Step 3 :- Add the button on contact page layout. Please select "Contact Layout"
Step 4 :- Then click on Edit and add button on page.
Step 5 : - Save.

Please let us know if this will help you.

Thanks
Amit Chaudhary

All Answers

Deepak GulianDeepak Gulian
Try this
https://google.com?q={!Contact.Name}
Vincent TingVincent Ting
I have the same issue as well. I have tried https://google.com?q=, http://google.com?q=, http://google.com/?q=, https://google.com/?q=, and the error message still says that the custom button not appear to be linking to google.com
Amit Chaudhary 8Amit Chaudhary 8
Please check below post with step by step process with screen shot
1) https://developer.salesforce.com/forums/?id=906F0000000BPIOIA4

To clear this challange you need do below steps:-

Step 1 :- Create a Button on contact object like below 
Step 2 :- Link detail should be like below.

Name :- Google_Info
Button or Link URL :-  http://google.com/#q={!Contact.Name}
Display Type :- Detail Page Button

Step 3 :- Add the button on contact page layout. Please select "Contact Layout"
Step 4 :- Then click on Edit and add button on page.
Step 5 : - Save.

Please let us know if this will help you.

Thanks
Amit Chaudhary
This was selected as the best answer
Vincent TingVincent Ting
Thanks. This URL works. I think the URL on the challenge was incorrect.
Diane Dougherty 7Diane Dougherty 7
Thanks to all - I changed it to {contact:Name} and it worked!