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

Custom button for New contact

I have created a custom related object to the Account object.


My client wants custom button that will allow one to create a new Contact from the section.


Could someboby please advise me on how to do this?






I'm not sure I understand. You have a custom object that is a child to Account, so there's a new related list on the Account with your custom object. Now you want to add a custom button to that related list allowing you to create a new Contact? There should already be a related Contact list on the Account with a New Contact button, won't that suffice? Or am I missing something?





Yes, you are right


My client's users don't want to move to a different section of the screen to add a new contact


Fair enough. Create a custom list button for your custom object, and add it to the related list on the Account page layout.


Try this URL:





Hope that helps,