Skip to main content

Posts

Showing posts with the label Global Variable in salesforce

Navigating to Standard Layout(Tab, Edit layout,List Layout) Using Action Global Variable

$Action is a global variable.  A global merge field type to use when referencing standard  Salesforce  actions such as displaying the Accounts tab home page, creating new accounts, editing accounts, and deleting accounts. Here I am sharing some visualforce code for the same. <apex:page standardController="Account">        //Navigating to new record page of Account        <apex:outputLink value="{!URLFOR($Action.Account.New)}">                Creating New Account        </apex:outputLink>       //Navigating to Account list View        <apex:outputLink value="{!URLFOR($Action.Account.List, $ObjectType.Account)}">               Go to the Account List View       </apex:outputLink>       //Navigating to Account tab page   ...