You need to sign in to do that
Don't have an account?
Pradhyumn Bansal
How to Override a New button of related List of Page with no changes in new Button of my Child Object
Hi all,
I have A custom object Goals__c and have a lookup of goals in contact standard object. When i am show the related List on Contacts Detail Page
I Want to Override the New Goals Button.
But i does not want to change my Goals__c Object new standard Button.
is there any method to change redirection of VF page only on contact Goal__c related list new Goals button. where as my Goal__c new button still set on standard VF page.
I have A custom object Goals__c and have a lookup of goals in contact standard object. When i am show the related List on Contacts Detail Page
I Want to Override the New Goals Button.
But i does not want to change my Goals__c Object new standard Button.
is there any method to change redirection of VF page only on contact Goal__c related list new Goals button. where as my Goal__c new button still set on standard VF page.
Yes this is possible .Just create a List button on Goal__c and in Contact Page layout in the Golas related list add the button.
For now I considered Account and contact for an sample Example:
Create List button on contact: (redirect to vf page there)
Now edit the Account page layout move to the contact related list:
Click on wrench then opens a popup:
Expand buttons there,and now you can add the custom button to 'Selected Buttons' and remove the Standard button by unchecking on the checkbox.
Hope this will be useful.
Thanks.
All Answers
Yes this is possible .Just create a List button on Goal__c and in Contact Page layout in the Golas related list add the button.
For now I considered Account and contact for an sample Example:
Create List button on contact: (redirect to vf page there)
Now edit the Account page layout move to the contact related list:
Click on wrench then opens a popup:
Expand buttons there,and now you can add the custom button to 'Selected Buttons' and remove the Standard button by unchecking on the checkbox.
Hope this will be useful.
Thanks.
Sorry for Late Reply but i successfully implemented that method.
Thanks for answering