0

I am trying to create Opportunity related list on Product page layout. I searched and find out that this functionality is not available with point and click. Is someone help me with the coding part how to achieve this task? I new to salesforce and learning it by doing it. Any help is appreciated.

Thanks

1

Related lists are displayed when they there's a relationship between the two objects.

As there's no direct relationship between the product and opportunity, try creating a visualforce page that queries all opportunity that contains that product in its opportunitylineitems then display accordingly. Then, have that page shown in the page layout of the product page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.