ApexPages.currentPage().getUrl()
ApexPages.currentPage().getUrl() is used to give the information after the HOST URL. Sample Code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > ....
ApexPages.currentPage().getUrl() is used to give the information after the HOST URL. Sample Code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > ....
Use the methods in the Schema.FieldSetMember class to get details about fields contained within a field set, such as the field label, type, a dynamic SOQL-ready field path, and so ....
Salesforce.com creates an organization chart based on the contacts selected in the Reports To field of each contact. To create a single chart for an account, make sure every contact ....
Apex class methods that are exposed through the API with the webService keyword don't enforce object permissions and field-level security by default. We recommend that you make use of the ....
Sample Code: public List < SelectOption > exampleProperty { get { //Do something; } } Test Class code: List < SelectOption > ....
Sample Code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageBlockSection > ....
While the Process builder is very flexible out of the box, there are a few business use cases those are not achievable using it. For example 1. It doesn’t support ....
Use convertCurrency() in a SOSL query to convert currency fields to the user’s currency. This action requires that the organization is multi-currency enabled. Syntax: convertCurrency(Amount) Example: FIND {test} RETURNING Opportunity(Name, ....
If you face Font Family CSS not working when Visualforce page rendered as pdf, check the below link. When Visualforce page is rendered as pdf, it does not support all the ....
1. Go to MavensMate --> Metadata --> New Apex Trigger..(for example). 2. Select Template. 3. Enter Trigger Name followed by comma and Object API Name. Cheers!!!