Anchor tag in Visualforce page
Sample code: <apex:page> Link to Salesforce is below<br/><br/> <apex:outputLink value="https://www.salesforce.com" id="theLink">www.salesforce.com</apex:outputLink> </apex:page> Output:
Sample code: <apex:page> Link to Salesforce is below<br/><br/> <apex:outputLink value="https://www.salesforce.com" id="theLink">www.salesforce.com</apex:outputLink> </apex:page> Output:
Sample Code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageMessages /> Testing Page Message <apex:pageBlockButtons location="bottom"> <apex:commandButton value="Call" action="{!check}"/> </apex:pageBlockButtons> </apex:pageBlock> </apex:form> </apex:page> Apex Class: public class Sample { public Sample() { ....
Use the Continuation class to make callouts asynchronously to a SOAP or REST Web service. Visualforce page: <apex:page controller="ContinuationController"> <apex:pageMessage rendered="{!statusBool}" severity="Info" summary="Long running process. So, do not press Start ....
SamplePage <apex:page standardController="Account" extensions="SamplePageController" action="{!redirectToVF}"> </apex:page> SamplePageController public class SamplePageController { public Account acct {get;set;} public SamplePageController(ApexPages.StandardController controller) { acct = [ ....
To add a flow to a Visualforce page, embed it using the <flow:interview> component. Sample Code: <apex:page standardController="Case" tabStyle="Case" > <flow:interview name="CaseDefaultFlow"> <apex:param name="vaCaseNumber" ....
Sample Code: <apex:page setup="true"> Test Page </apex:page> Output:
1. Go to the below link. http://ec.europa.eu/taxation_customs/vies/checkVatTestService.wsdl 2. Right click and save the XML. 3. Go to Apex Classes. 4. Click Generate From WSDL button. 5. Select the downloaded file from ....
Sample Code: <apex:page sidebar="false"> <apex:form > <apex:toolbar style="background-color:red;background-image:none;"> <apex:inputText /> <apex:commandButton value="Search"/> ....
Sample Code: <apex:page sidebar="false"> <apex:panelBar style="background-color:pink;" headerStyle="background-color:gray;background-image:none;"> <apex:panelBarItem label="Test 1"> Test 1 </apex:panelBarItem> ....
Sample Code: Visualforce page: <apex:page standardController="Account" sidebar="false"> <style> .bPageBlock .pbBody .dataCol { border:0px; } .bPageBlock .pbBody .labelCol { ....