+ Start a Discussion
Eric BlaxtonEric Blaxton 

VF Related List Question....

I created a Related List X that I show on the Account.  I created a VF page that shows Related List X on the Opportunity.  Related list is not related to the opportunity at all. 

Now the hard part is removing or disabling the buttons on Related list X that shows on the Opportunity without disabling them on the Related List at the Account Level.

Best Answer chosen by Eric Blaxton
Hi Eric,

Instead of using the related list - what you can do is use the apex:dataTable component and show the records from that record which is not related to this object.

This way you will get rid of the buttons and can still shw then on the Account page where they should appear