You need to sign in to do that
Don't have an account?

How to add Custom List Button in related list of Custom Object
Hi, I have created a VF page "AddMultipleOppy" which adds Multiple opportunities related to a custom Object "Project__c".I want this Vf page to be displayed as list button in related list of opportunities on "Project__c" object So,I have created the custom list button on "Project__c " object and tried to add this button on related list properties of "Opportunity" object in page layout but I could find this button. Am I missing out on anything?? Thanks Regards, Prasanna
To make the list button appear on related list of "Opportunity" on "Project__c" you have to create the list button on "Opportunity"
not on "Project__c" object and add in the project object's pagelayout you can add the list button as mentioned earlier
All Answers
For the button to appear...Go to the object pagelayout and click on related list in the pallette...which will scroll down the page
and click on "Properties" icon (spanner icon) on the object for which list button has been created. An overlay will open after
clicking containing two section columns and Buttons...Select Buttons from there select the list button you want to display
To make the list button appear on related list of "Opportunity" on "Project__c" you have to create the list button on "Opportunity"
not on "Project__c" object and add in the project object's pagelayout you can add the list button as mentioned earlier
Could you share the logic which is added on click of that button?....ex If you're using javascript on click of button then code for that
Could have made small syntatic difference between the two...Anyway pls compare the url that is generated on click of button
and the one which is working ( Directly providing the ID for the page)