Category: Salesforce
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
Salesforce | Send daily emails using workflows till the status changes
We have a custom object Survey and it has a status field with the values: New, Pending and Purchase. When Survey is in Pending status we want to send email to the user on every second day till the status
Salesforce | Formatting date and numbers on VF page
Problem: How to format output text field value on VF page and also number formatting? Description: In a situation I have date field on the vf page which is binded to date field having value in format “Thu Dec 1
Salesforce | Editing a task assigned to another user by task owner
Problem: Task owner was not able to edit the task which is assigned to other user. I have a situation where a system admin assigns a standard user as an owner of the lead. Like in my case Abc is
Salesforce | Fetch all the tasks related to an sfobject
Description: I have a situation where I want to fetch all the tasks related to the account object. Solution: You get all the task records which belong to any of SF object using single SQL query. For Single object: For
Salesforce | ALL ROWS
How to get all records of sfobject including records in recycle bin of salesforce and undelete the records? List objlst = [select id,isdeleted from sfobject ALL ROWS]; //Just add ALL ROWS at the end of SOQL, it retrieves all the