+ Start a Discussion
Linked2MarkLinked2Mark 

Create Button on Opportunity Detail page that displays in Case related list

Hi. I would like to create a button that can be shown on the Case related List on an Opportunity detail page. When the button is clicked I would like to pass the Opportunity Id. Cant see a standard button mechanism to do that when creating the button from the Case Object. Will I need to create some type of custom list view that I can display in place of the standard related list? The url for the button would look something like:

apex/caseLandingPage?id={!opportunityId} 
the challenge is that I dont know how to grab the Opportunity ID.

Any input appreciated.