You need to sign in to do that
Don't have an account?
David Wheatley
URL search (google) not actually executing search
Really simple question. We have a button that launches
http://google.com?q={!Contact.Name}
but it doesn't actually execute the search, so the user has to hit enter or click the search button on the google page. Is there syntax I can add that will 'hit enter' on the target page?
http://google.com?q={!Contact.Name}
but it doesn't actually execute the search, so the user has to hit enter or click the search button on the google page. Is there syntax I can add that will 'hit enter' on the target page?
https://www.google.com/search?q={!Contact.Name}
All Answers
https://www.google.com/search?q={!Contact.Name}
Please check below post with step by step process with screen shot
1) https://developer.salesforce.com/forums/?id=906F0000000DDO6IAO
2) https://developer.salesforce.com/forums/?id=906F0000000BPIOIA4
3) https://developer.salesforce.com/forums/?id=906F0000000BRNfIAO
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
You can try this
Contact Custom Button or Link: Google Search http://www.google.com/search?q={!Contact.Name}
https://developer.salesforce.com/trailhead/customizing_user_interface/ui_nav_buttons_links
has the old syntax, maybe someone could update that?