You need to sign in to do that
Don't have an account?
sparrowbrad
Visualforce Page - Display Opportunity Products on Custom Object (related to Opp)
My question is directly related to this past posting. But since it's an old post, figured I'd start a new one.
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000973BIAQ
I have a custom object, called Payments, which is in a master-detail relationship to Opportunity. I'm trying to create a visualforce page (render as PDF) on the Payments object. On this visualforce page, I need to display the Opportunity Products (line items). However, I haven't found a way to reference these line items from the Payment object.
So I tried the solution, in the posting above, create two separate VF pages
1. One on Opportunity - to show product information
2. One on Payments - used an iframe to display the opportunity VF page
This almost satifies my requirements, but you can't render as PDF with an iFrame.
Any thoughts / suggestions would be greatly appreciated!
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000973BIAQ
I have a custom object, called Payments, which is in a master-detail relationship to Opportunity. I'm trying to create a visualforce page (render as PDF) on the Payments object. On this visualforce page, I need to display the Opportunity Products (line items). However, I haven't found a way to reference these line items from the Payment object.
So I tried the solution, in the posting above, create two separate VF pages
1. One on Opportunity - to show product information
2. One on Payments - used an iframe to display the opportunity VF page
This almost satifies my requirements, but you can't render as PDF with an iFrame.
Any thoughts / suggestions would be greatly appreciated!
You might need to write a custom controller or an extension. Then you can run a query, and use it in your VF page. Have you explored that route ?
Here is some information: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller.htm
I have not done that as I'm an ADMIN at heart, not dev, so I wanted to explore all options before diving into that.
Do you have any suggestions to get me started?