• LennyT
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I have a custom VF page that is using the standard Opportunity controller and an extension. In the VF page, I'm displaying OpportunityContactRoles in a Data Table so that I can have some additional columns/information displayed that are not options within the standard OpportunityContactRoles related list. My problem is that I have to manually add in the Del link (that appears in the "Action" column on the Opportunity Contact Roles related list) but can't seem to figure out the URL to use.

 

I see that the Del button links to /setup/own/deleteredirect.jsp with the following parameters:

  • id --> opportunity id
  • delID --> opportunitycontactrole id to delete
  • retURL --> the return URL
  • _CONFIRMATIONTOKEN --> ??

What is the confirmation token, and how do I determine it?

If there is an easier way to approach this rather than hacking the URL myself please let me know.

  • May 11, 2011
  • Like
  • 0