+ Start a Discussion
anjaanja 

Help with salesforce Labs app - SearchFirst

When someone goes to add a new Account, Contact or Lead, they go to the associated Tab and click “New” and then choose a record type and click “Continue”


I overrode the “New” button in salesforce so that the person gets redirected to the SearchFirst screen after they select the Record Type and click “Continue”.

The difficulty is that when you now click “New” in this app (after you have successfully completed your search) it returns you back to this page - because the source code for SearchFirst uses the "new" method standard in Salesforce - which I just overrode. I get a loop. 

 

Has anyone come across a way to create a custom button in this app to redirect you to the actual page where you add the new contact, lead, or account?