Category: Salesforce
PHP | Send mail through Gmail SMTP server and phpmailer
We have mail() function to send emails in PHP. It uses built in sendmail command that uses local mail server to send emails. PHPMailer, on the other hand, is very different. Rather than relying on sendmail, it communicates directly with
Salesforce | Dynamic table column headings in a VisualForce page
In VisualForce Page I wanted to have different column headings, like this: I tried it using tag and tag but you can not display header value using tag as well as <apex:facetname=”header” > tag. <apex:repeat value=”{!prolist}” var=”ls” > <apex:column headerValue=”Producer
Test cases generation and bug report generation in salesforce
In case you would like to create test cases or record bugs inside Salesforce you can create custom objects for this. Steps for test cases object creation: Select->Setup->create object->new custom object Then we can add custom fields and relationships or
Salesforce | Set custom RecordType in case of web to lead
Situation: We have a web to lead form and every time we create a lead it always takes “Personal” as record type which is default record type in our org. We want to set another recordType like Agentco or Trucking
Salesforce: Truncate records from custom object in salesforce without using apex code
Truncate records from custom object in Salesforce without using apex code Salesforce provides a feature to delete bulk records for the standard objects. This can be achieved by navigating Setup -> Data Management-> Mass Delete Records. But in case we
C# Salesforce.Common.ForceAuthException
C# – Exception in salesforce login with valid credentials Stacktrace : Exception thrown: ‘Salesforce.Common.ForceAuthException’ in Salesforce.Common.dll Exception thrown: ‘Salesforce.Common.ForceAuthException’ in mscorlib.dll at Salesforce.Common.AuthenticationClient.d__1.MoveNext() Description : I am using oauth-rest api to login into salesforce. I have passed valid consumer key,
Salesforce: Save docusign (PowerForms) FormData in Salesforce
Problem: Get data filled by user from docusign FormData and pass it into Salesforce. Description: We have docusign account integrated with Salesforce account. We want to use the functionality of power forms of docusign and get all the data filled
Salesforce | How to access CLIENT_ID, CLIENT_SECRET in salesforce
Problem: How to access CLIENT_ID, CLIENT_SECRET in salesforce. We can access the ClientID and ClientSecret by creating Connected app in Salesforce. Solution: Follow these Steps to create a new app in salesforce. 1. Click on setup then under Build click
Salesforce | How to add new line character to formula field
Solution: You can add a newline character to formula field by using BR() function. For Example: Formula Field value: “Manager Schedule: Name, DOB, CDL #, Yrs Management Experience, Hire Date” & BR() & “Vehicle Schedule: Year, Make, Model, VIN, and
