+ Start a Discussion
punnoosepunnoose 

how do simulate accounts page

i have code to generate default Accounts tab
Now i have 2 problems
1 when i click on comapny it goes to cmpany detail page how do i select the page that is edited by pagelayout
and
How do i display these fields that exist as default in the accounts page(and its links)

Reports
Active Accounts
Accounts with last activity > 30 days
Account Owners
Contact Role Report
Account History Report
Partner Accounts
******************************************
Tools
Import My Accounts & Contacts
Import My Organization's Accounts & Contacts
Mass Delete Accounts
Transfer Accounts
Merge Accounts
Sales Methodologies


**************Code*********************
<apex:page standardController="Account" recordSetVar="accounts" tabstyle="account" sidebar="false">
<apex:pageBlock >
<apex:pageBlockTable value="{!accounts}" var="a">
<apex:column >
<apex:facet name="header">
<apex:outputLabel value=" {!$ObjectType.Account.Fields.Name.Label}" />
</apex:facet>
<apex:outputLink value="/{!a.id}" target="_blank">{!a.Name}</apex:outputLink>
</apex:column >
<apex:column value="{!a.name}" />
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>
**************Code*********************