Category: Salesforce
Change Landing Page of Community Website
Change landing page of community instead of showing default home page We can change default landing page in CommunitiesLandingController. CommunitiesLandingPage is the Active Site Home Page for your community, meaning that it is shown when someone enters a direct URL
Creating PDF In Salesforce
How to create PDF In Salesforce using Visualforce? We can create Pdf using Visualforce page, here is sample code to create Pdf. The renderAs Method is used to download/view the Page as Pdf, Excel, Doc etc. <apex:page sidebar="false" showHeader="false" applyHtmlTag="false"
Create Post Install Script in SalesForce
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
PHP | Amazon S3 | Check if a file or folder already exists on Amazon S3 Bucket
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
Salesforce | How to change Logo of externally accessible VisualForce Pages
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
Salesforce triggers and order of execution
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.
Create Salesforce Custom Object Using Apex Code
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
Salesforce | How to change email access level
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
Salesforce | Read csv file, insert objects and get results back in Apex visualforce page
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: