+ 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.