function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to can the default account page?


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.




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:outputLink value="/{!}" target="_blank">{!a.Name} </apex:outputLink>
   <apex:column value="{!}" />

Now select that VFP from the list of VF pages.