CRM Plus Edition
CRM Plus Edition
Steps to make VisualForce Page externally accessible by non-salesforce Users/External Users:
1. Create a VisualForce page that you want to make externally accessible by non-salesforce Users/External Users.
Here, I’ve created a VisualForce Page named as ‘Multi-Select List’. I’ve also created an Read more…
Workflows enable us to set up rules that are evaluated and the corresponding action is executed based on the type of change in record. Few common cases in which workflows are used are:
1. Create a new task on an event
2. Update a field
3. For email Read more…
Salesforce Sandbox is intended for coding and testing by a single developer. This is an environment in which currently ongoing changes can be done until they’re ready to be deployed in live.
There are several different types of sandboxes available:
1. Developer Sandbox:
Developer sandbox Read more…
There was a task in which we were required to get each folder name with count of files it contains from an AWS S3 bucket. If we used the general approach to start a counter and increment that in a foreach loop we were getting the exact count of files Read more…
In Salesforce, how to open standard ‘send email page’ by clicking a custom button located on Detail Page of a custom/standard Object?
Steps to open an Email Page from Custom Button:
1. Add a custom button first. Go to Custom Object settings, Then Click New button and link.
2 Read more…
These are the steps to upgrade to PHP 5.6:
Add the PPA containing version 5.6 of php for Ubuntu 12.04:
sudo apt-add-repository ppa:ondrej/php5-5.6
sudo apt-add-repository ppa:ondrej/php5
Run these command in terminal to upgrade php :
sudo apt-get Read more…
How to send an error message from trigger back to the layout and display it on the record detail page. You need to use addError method for this.
For example :
errorMsg=’Some of the catalog courses are not available in LMS.<br/>Please sync them to LMS first Read more…
Data loader is a desktop application and is used to import or export data in Salesforce. After import/export operation it gives back the detailed success and error log files in CSV format. It supports export of records up to 5 million. Data loader Read more…
Creating Custom Email Rest API Apex class in Salesforce using SingleEmailMessage class and C# example code to consume the Api
My web application was integrated with Salesforce and I had a requirement to use Salesforce as Email Client, but with a Rest API approach to send Read more…
By mistake if you have only 1 userid and you change that also to API only, then you cannot login to Salesforce. In this case how to convert Salesforce “API only” User to “Normal” User using Data Loader?
Salesforce API Only User is the user which can be Read more…
Problem: Change Visibility of several fields of an object.
Need: One example is when a package is deployed to another org then the visibility of the fields can be different than expected which affects the functionality.
Solution: Since editing each field one by one Read more…
Email to case is a standard feature in Salesforce that allows creating a case in Salesforce directly from an email.
First step is to generate the email address in salesforce that needs to receive emails that should be converted into cases.
Steps for email to case :Read more…
Display more than 10,000 records by Handling View state problem (only 132 kb data displayed on vf page).
Problem statement : Displaying more than 50,000 records in the table.
Solution : This issue has been resolved by pagination of the table.
Apex class Read more…
There are two most common ways to revert your changes back to Salesforce sandbox from production:
1.) Force.com IDE
2.) Salesforce Migration tool (ANT)
Using Force.com IDE :
If you are already using force.com IDE then you can go for this option to delete components from production.
Below Read more…
Situation: We need to use tinyMCE editor for the rich text field so that user can switch from Visual to html editor. It means he can also use html coding or add effects from UI as required. As we know there is a default editor in salesforce for Read more…
If you want to fetch the Field names recursively of Related objects up in Salesforce how to do this?
You have to first fetch the field names of one Object Name and scan the list to find the field type of Reference. Then you have to check the Parent Read more…
Salesforce gives us a limit of 2000 records to fetch from it using REST calls. But sometimes we need to get all the records from Salesforce. In Salesforce, there is a limit of API calls. By default, it gives 15,000 for a sandbox. Making salesforce call, again and again Read more…
How to set logout URL for customer portal:
-> Go to Quick find box and write customer portal settings.
-> Now, open the portal that you want to edit.
-> Click on the edit button:
-> Enter the URL under the portal default setting→logout URL.
Note Read more…
Step to insert PHP Page in Salesforce:
1. Go to setup->Create->Tabs in Salesforce:
2. Under Web Tab, click on new button. Now you can select the Page layout you want to set – full page width or 2 columns with Salesforce.com slider:
3. Fill Read more…