function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gregk07gregk07 

Adding to opportunity partners

I would like to add commission information to opportunity partners. I'm struggling with this since opportunity partners doesn't have page layout functionality.

I'm new to visual force & Apex but have attempted to create a page that allows users to add commission data.

The current page includes:

- Partner Lookup (I would much rather query the opportunity partners into the page instead of having the user reselect the partners).

- Other commission dropdowns and inputs for each partner.

I would appreciate if anyone could help me understand how best to add custom opportunity partner information. Is it possible to query all opportunity partners on a single opportunity and then loop through them within the page and add custom inputs?

Thanks in advance!
BUSYB0YBUSYB0Y

I am not familiar with the OpportunityPartner object. But here i am assuming that you have to write a controller extension where you will query for all your necessary records and will populate it in on your VF page.