Visual Code to AzureDevops | Visual Code to Salesforce
Steps to connect local project from VS Code to Azure DevOps:
1. Install Visual Code.
2. Install all the salesforce extensions.
3. Install Git on your system.
4. Go to your Azure account.
5. Select the Read more…
Dynamically applying specific Layout to a record on VF page in Salesforce
You may need a specific layout to show in a tab for a particular record (like account settings). For this, we can fetch ‘Metadata’ field from Field Definition with SOQL using Tooling API. In Read more…
Implementing Salesforce SOAP and Bulk API Integration in PHP
Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…
Salesforce – How to do it right
Moving on from managing your customer relationships in a worksheet and deciding to do that in a CRM system like Salesforce is a big step forward. If you have already taken that step and you are a Salesforce customer, congratulations Read more…
Handling Error : Lightning components
I had created a lightning application but while running it I was getting this error:
Error : Lightning components request My Domain. Please contact your System Administrator for more information.
Solution: To use Lightning application and resolve the above Read more…
In salesforce, a picklist can be dependent on a global picklist value set or it may be defined manually while creating field.
Above error occurs when we try to create a record along with a value set for the picklist. There can be two reasons for this :
The picklist is Read more…
Lookup Vs Master-Detail Relationship
There comes a moment when we are confused about whether to create a lookup relationship or a master-detail relationship between two objects (can be a Standard or a Custom object).
Below are some use cases for the aforementioned relationships.
View State in Salesforce
It is a state that holds tags, field values and all component of controller except transient type. The maximum size limit of visualforce page is 132KB. If the size increase it results in View state problem.
How to enable View State for Read more…
Restrict a user to create multiple attachments on a specific custom object.
To accomplish this, as it is not possible to create a process builder or workflow on Notes & Attachments object, neither we have a privilege to view attachment object inside Salesforce, so creating a trigger Read more…
Salesforce WSDL Api login using SOAPUI – Issues and Solution
(Ubuntu 14.04, Salesforce Api version 43.0, SoapUI-x64-5.4.0)
If you want to test salesforce login api call before actual implementation then you can use SoapUI. It is Read more…
What is Approval Process in Salesforce and how to create it
An approval process is an automated process that is used to define a flow for approval of a record of Objects (Standard/Custom).
Approval Process Steps are:
1. Object – Any Read more…
Style your existing Visualforce page with Lightning Experience
You can view your existing Visualforce page with lightning experience by simply adding a lightningStylesheets=”True” attribute in the tag.
This tag will work with Salesforce for Android, Salesforce for iOS, or Salesforce mobile web.
Salesforce: Allow Outbound Change Set from Production To Sandbox
When you create an Outbound change set in your Production account and upload the change set then it will show the error as shown in the following screenshot:
In order to resolve this issue, you need to Read more…
Steps below to Create & Validate Stripe Payment Form in Salesforce
If you are using Stripe as your payment gateway, follow below steps to add the Stripe payment form and validate the user input.
Below is the sample code that I Read more…
How to create and use FieldSet of a particular Object (Standard or Custom) in Salesforce
FieldSets are commonly used where we want to display fields of a particular object in the Visualforce page dynamically.
1. Steps to create FieldSet of a particular Object:
Open Layout of Read more…
What is the purpose of Developer Console, Workbench and Force.com IDE and their differences
Prerequisite: Salesforce Org should be API-enabled for these tools to run. Salesforce API-enabled editions are:
1) Developer Edition
2) Enterprise Edition or above
Below, I am going to describe Read more…
Custom Component in Visualforce Page
Custom Component is very useful in the Salesforce. Sometimes, in the visualforce page, we need the same block of code again and again. For this, we can create VisualForce Component which will contain the common code which is used again and Read more…
How to validate/deploy a changeset with specific test cases in Salesforce Production Org?
Steps to create and deploy a Change Set:
1. Search Outbound ChangeSet in Quick Find Box in Sandbox Org. Then click on new button Read more…
Introduction to Salesforce Community Cloud and Steps to create and customize it
Communities are like portals or support sites for connecting important people. Communities improve engagement with your Customers, Partners, and Employees.
You can create multiple communities inside your salesforce org for different type of needs Read more…