First you have to create a custom button on contact whose display type should be "List Button"
Setup > App Setup > Customize > Contact > Button And Links > Custom Button And Links > New > Create custom button with display type "List Button"
Now your button is ready to be used on related list. Now if you want to add this on account's contact related list
Setup > App Setup > Customize > Accounts > Page Layout > Edit > Go to related list > Properties of Contact Related list > Buttons > Select your custom button from multiselect picklist and add it in Selected Button picklist > Save.
First you have to create a custom button on contact whose display type should be "List Button"
Setup > App Setup > Customize > Contact > Button And Links > Custom Button And Links > New > Create custom button with display type "List Button"
Now your button is ready to be used on related list. Now if you want to add this on account's contact related list
Setup > App Setup > Customize > Accounts > Page Layout > Edit > Go to related list > Properties of Contact Related list > Buttons > Select your custom button from multiselect picklist and add it in Selected Button picklist > Save.
I have a VF page with standard controlller Opportuntiy. I m trying to create a custom buttom on custom object by selecting the VF page. The problem is that i m not getting my VF page in the picklist to select the page. Plz help
I am trying to accomplish the same thing, however the url you provided with my vf page name is not working. How can I use my vf page for a custom list button for opportunities?
I know I'm a few year late but can you help me create the "Add" button you mentioned above? I'm looking to create that same cutton in my org but I'm not sure how to approach the code for it.
Is it possible to add new action/button along with edit/delete values in drop down in salesforce lightning in the related list record. In Opportunity record(in lightning) i have a related list. In the related list record we drop down actions edit and delete. I would like to add a custom action/button which will make a call to lightning component or vf page.
@Amrut - No... You have to use the Visualforce Page.... I couldnt find anyone anywhere where they added a Lightning Component or a redirect to a custom action
Hi Shailu,
First you have to create a custom button on contact whose display type should be "List Button"
Setup > App Setup > Customize > Contact > Button And Links > Custom Button And Links > New > Create custom button with display type "List Button"
Now your button is ready to be used on related list. Now if you want to add this on account's contact related list
Setup > App Setup > Customize > Accounts > Page Layout > Edit > Go to related list > Properties of Contact Related list > Buttons > Select your custom button from multiselect picklist and add it in Selected Button picklist > Save.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Hi Shailu,
First you have to create a custom button on contact whose display type should be "List Button"
Setup > App Setup > Customize > Contact > Button And Links > Custom Button And Links > New > Create custom button with display type "List Button"
Now your button is ready to be used on related list. Now if you want to add this on account's contact related list
Setup > App Setup > Customize > Accounts > Page Layout > Edit > Go to related list > Properties of Contact Related list > Buttons > Select your custom button from multiselect picklist and add it in Selected Button picklist > Save.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi Ankit Arora,
Thanks a lot....
Hi Ankit,
I have a VF page with standard controlller Opportuntiy. I m trying to create a custom buttom on custom object by selecting the VF page. The problem is that i m not getting my VF page in the picklist to select the page. Plz help
I figured it out, it was very simple. On the custom object while creating custom button , select the URL and enter
apex/yourpagename?id={!Opportunity.Id} .
I am trying to accomplish the same thing, however the url you provided with my vf page name is not working. How can I use my vf page for a custom list button for opportunities?
I know I'm a few year late but can you help me create the "Add" button you mentioned above? I'm looking to create that same cutton in my org but I'm not sure how to approach the code for it.
Thanks,
Liz
In Opportunity record(in lightning) i have a related list. In the related list record we drop down actions edit and delete. I would like to add a custom action/button which will make a call to lightning component or vf page.
thanks
amrut