• Pramod Kumar 194
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
User-added image

SELECT (SELECT  WhoId, Who.name FROM ActivityHistories  limit 5) FROM Account where id='0014100000QIRer'

[{"WhoId":null,"Who":null},{"WhoId":null,"Who":null},{"WhoId":null,"Who":null},{"WhoId":null,"Who":null},{"WhoId":null,"Who":null}]

Here i am unable to query name using query on ActivityHistories , If any one know this thing how we can achive this so confirm me asap
Unable to display Account standard detail layout in visualforce page by using tag      <apex:detail relatedList="false"/>

Image 1   (standarad detail page Ui)
User-added image

Image 2  (Visualforce page Ui)

User-added image
I'm trying to find out how to include the standard object page design (header) in a custom visualforce page.  Simply put, I want to know what code is necessary to render the section(s) called out in red in the attached image.User-added image