Salesforce Archives - Page 4 of 25

Create Post Install Script in SalesForce

Author - Harinder Jakhar

How to create Post Install Script in SalesForce

Definition
A post install script is an Apex class which is executed when a package is installed or upgraded. This class implements the InstallHandler interface. This interface has a method named as onInstall which specifies what Read more…

PHP | Amazon S3 | Check if a file or folder already exists on Amazon S3 Bucket

Author - Webner

To check if a file or folder already exists on Amazon S3 Bucket, use the following code

Code:
$info = $client->doesObjectExist($bucket, $FileName)
if ($info)
{
echo ‘File exists’;
}
else
{
echo ‘File does not exists’;
}

Webner Solutions is a Software Development company focused on developing CRM apps (Salesforce, Zoho), LMS Read more…

Salesforce | How to change Logo of externally accessible VisualForce Pages

Author - Webner
|
0 Comments
|

Salesforce | How to change Logo of externally accessible VisualForce Pages

Steps to add Logo to externally accessible VF pages:

1. Add Logo/Image into Static Resources:

a. Go to Setup, then search Static Resource in Quick Find Box. Then click on Static Resources and Read more…

Salesforce triggers and order of execution

Author - Kiranpreet Kaur
|
1 Comment
|

Triggers in Salesforce and order of execution

A trigger is Apex code that executes before or after the following types of operations:
*insert
*update
*delete
*merge
*upsert
*undelete
You can create triggers on both standard as well as custom objects.

There are two types of Read more…

Create Salesforce Custom Object Using Apex Code

Author - Neha Mishra
|
1 Comment
|

Salesforce custom object using apex code

There are two ways of creating a custom object and its related fields in Salesforce. The first and the easiest way is to go to the Objects link beneath Create tab, click on the new button and create a new Read more…

Salesforce | How to change email access level

Author - Webner
|
0 Comments
|

Problem:- System.EmailException: NO_MASS_MAIL_PERMISSION, Single email is not enabled for organization or profile.

Description : By default, email access level is set to “System Email only” or “No Access”. It allows only system generated email to be sent such as ‘Reset user password”.

Solution:- Following are the steps how to change Read more…

Salesforce | Read csv file, insert objects and get results back in Apex visualforce page

Author - Webner
|
0 Comments
|

If you have a csv file with raw data and you want to read it using apex, convert to sfdc objects and insert these, then get success and failure results back then following steps and code can help you:

 

1. Create an Apex Class which will read the csv Read more…

Time Zone Conversion in Salesforce

Author - Deepika Saini
|
0 Comments
|

Problem: How to change the Time Zone in VF Pages of Salesforce to show the Date Time field according to User’s Time Zone?

Solution:

By default the Date Time field is saved in GMT TimeZone. If you simply use the System.now() method in order Read more…

Salesforce Query Limits and Best practices to use minimum api calls

Author - Tanuj Sharma
|
0 Comments
|

The maximum number of records that we can retrieve using a single Salesforce API call is 2000. Below are some points using which we can reduce our API calls to not to cross Salesforce API call limits:

* Instead of using Salesforce operations like update(), upsert() for each record you can Read more…

Zoho CRM Editions Comparison Table

Author - Webner
Editions

Free Edition
Standard Edition
Professional Edition
Enterprise Edition
CRM Plus Edition

Pricing Read more…

Make VisualForce Page externally accessible by non-salesforce Users

Author - Anjana Devi
|
1 Comment
|

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…

Difference between flows, workflows and process builder in Salesforce

Author - Piyush Aggarwal
|
0 Comments
|

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 – introduction, uses and limitations

Author - Sahil Bhalla
|
0 Comments
|

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…

AWS S3 | How to get the count of files in a folder in AWS S3

Author - Kiran Preet
|
0 Comments
|

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…

Open Send Email form on Custom Button click in Salesforce

Author - Anjana Devi
|
0 Comments
|

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…

Upgrade to php 5.6 and apache 2.2 to apache 2.4.17 in ubuntu 12.04

Author - Webner

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…

Salesforce | Display error message returned by Trigger with enter key

Author - Kiranpreet Kaur
|
5 Comments
|

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…

How to Use Salesforce Data Loader

Author - Manpreet Singh
|
0 Comments
|

Data Loader

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…

Salesforce | SingleEmailMessage REST API and C# consumer

Author - Webner
|
0 Comments
|

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…

Salesforce | Convert API only User to Normal User using Data Loader

Author - Deepika Saini
|
0 Comments
|

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…

‹ Prev page1 2 3 4 5 6 7 8 9 ... 25 Next page ›