+ Start a Discussion
punnoosepunnoose 

how to call a customized page from newly created visual source page

i will tell my problem again ,i create a default accounts Page with th following code. i want this to be linked to on (click of Company name ) to a customized page created by Pagelayout.

How do you do this

Punnoose

JitendraJitendra

Hi,

You can create the Custom Button link to your new page and add that button on your Account page layout.

 

Please have a look at this documentation:

http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_define_custom_buttons.htm

punnoosepunnoose

My problem is this,i created a custom accounts page on click of a.name,it should go to Account detail page that is created

by editing page detail layout

Punnoose

******************************code*****************************************

<apex:page standardController="Account" recordSetVar="accounts" tabstyle="account"
sidebar="false">
<apex:pageBlock >
<apex:pageBlockTable value="{!accounts}" var="a">
<apex:column value="{!a.name}"/>
<apex:column value="{!a.Annual_Value__c}"/>
<apex:column value="{!a.Phone}"/>

</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>

******************************code*****************************************