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
sridhar_avsridhar_av 

Customizing and accessing Standard pages

 

 I have a requirement to display either of  Standard Page (Account page )and Customized Standard page (Account Page with few extra custom sections added) based on a Picklist selection.  My problem is can we customize a standard page and save it as another page? Also, do we need JavaScript/ VF event like 'onchange'  for displaying different pages?  Appreciate your help.

Best Answer chosen by Admin (Salesforce Developers) 
HariDineshHariDinesh

Hi,

 

Answering your first question: (can we customize a standard page and save it as another page?)

Yes, we can.

Just by creating page with simple code below you get the standard Page View.

 

<apex:page tabStyle="Account" cache="true" >
   <apex:listViews id="supp" rendered="true" type="Account"  />
 </apex:page>

 

Do we need JavaScript/ VF event like 'onchange'  for displaying different pages?

 

What do you mean by this? 

Are you planning to create one page having pick list and redirecting to different Pages based on selection?

If yes you can do this by VFP coding.

 

If not can you please let me know what you are looking for.