I have a project I'm stumped on. I'm adding a detail page button that uses the search functionality to create a Find Duplicates Button on Contacts. Below is the code I'm using. I'm getting the following syntax error message: "The Name field is required". However, I can't make the Name field not required (see screenshot below code).
Interestingly, another admin at another company with a separate SFDC instance used my code exactly and hasn't had an issue or error message. Mind helping me troubleshoot? Any advice greatly appreciated. -Best, Brooks
/_ui/search/ui/UnifiedSearchResults?searchType=2&str=
{!IF( ISNULL(Contact.Phone) ,'',Contact.Phone &' or ' )}
{!IF( ISNULL(Contact.MobilePhone) ,'',Contact.MobilePhone &' or ' )}
{!Contact.FirstName}+{!Contact.LastName}
+or+{!Contact.Email}
Attribution to: user7377
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/30244