You need to sign in to do that
Don't have an account?
Amol Ch
Display the list of realted record in VF page.
I'm displaying the list of account record on VF page in pageblocktable. Account record will be inline edit on Vf page. Now I've to display the list of realted contact on account record on mouseover/click, In such a way that User can quickly review(read only) the contact without scrolling up/down.
So need a contact list should be visible on mosuseover. Is it possible? or other option.
we can display the realted list of contact below to all account record but in this case user has to scroll down. This it is not satisfy my requirement.
So need a contact list should be visible on mosuseover. Is it possible? or other option.
we can display the realted list of contact below to all account record but in this case user has to scroll down. This it is not satisfy my requirement.
Please try below code. I hope it helps
Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
You can display the related list in a VF page using apex:relatedList tag. Following is the visual force code to display Activity History: Below is the output:
You can refer this link:
Let me know if it works for you.
Kindly mark this as solved if it's resolved.
Thanks,
Nagendra
Below is my table of all account record, displayed using PageBockTable.
Now for each account I've to show the realted contact list. When click/Mouseover I've to dispaly realted contact
I am assuming you need a Mini page layout to be displayed when mouse is hovered on the related Contact lookup on Account record. If this is the case you can surely do it in visual force pages.
See below given posts on how to do it.
https://www.xgeek.net/salesforce/use-salesforce-mini-page-layout-in-visualforce-page/ (https://www.xgeek.net/salesforce/use-salesforce-mini-page-layout-in-visualforce-page/)
http://salesforceforall.blogspot.in/2012/10/displaying-minipage-layout-on-hover.html
Hope this helps you.
Thanks,
Pankaj.
Hi
I'm trying to use the minipagelayout but its only showing the information of account,
I want list of realted contact.
Please chekc my belwo screenshot. I've check the option of contact realted list from mini pagelayout, but it is not showing on VF page.
Or it will be something like the related list links shown at top of every detail page(shown below) and when you hover you get details of few related records. But on custom VF page that too you have to develop.
Thats the same I'm looking for. you have any custom code example. which will be help me lot.