+ Start a Discussion
shinerajbshinerajb 

How to can the default account page?

Hai,

I want to change the Accounts tab default home page,Can I change it from search layoutsand edit it .I want to give a link to another visual source page.


Shine

HariDineshHariDinesh

Hi,

You can change the Account Tab Default landing page.

You can change it from Customize--> Account-->Buttons and Links, Click on Edit of Account Tab.

 

Before doing the above create VFP with below 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>

Now select that VFP from the list of VF pages.