You need to sign in to do that
Don't have an account?
Pankaj Parihar
hello
i need to display this table on vf page on a button click which is inside of an opportunity record.
plz help me with code.
product records on vf page
hello
i need to display this table on vf page on a button click which is inside of an opportunity record.
plz help me with code.
Use below sample code
Please mark this as best answer.
this code is showing some errors....
You should use apex:relatedList to show all line items. Below is the reference link:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_relatedList.htm
Therefore, below snippet would work for you. - Paste above-mentioned snipped in your page(apex controller not needed).
- Preview the page by clicking preview button on the vf page layout and append the opporunity id followed by your page name like below:
Hope, the above solution works for you. Kindly let me know in case any query.
Please mark the answer as best if this helps.
Thanks,
Aman
On line 6 there is typeo mistake, please use below code.