Category: Salesforce
Salesforce | Different ways to use datepicker on visualforce page
1. Apex:inputfield: We can simply use apex:inputfield and bind the field with date type field and it will automatically use the Salesforce Calander: <apex:page standardcontroller=Contact> <apex:form> <apex:inputfield value=”{!Contact.Birthdate}”> </apex:form> </apex:page> 2. Apex:inputtext: <apex:page standardcontroller=”testcontroller” id=”vfPage”> <apex:form> <apex:inputText label=”Birth Date” value=”{!birthdateVariable}”
Salesforce custom tabs not visible in production org
Salesforce custom tabs, which are a part of the Managed Package Problem : I had added 3 custom tabs to a managed package and deployed the package in production org. I am able to see them in the developer org
Formula Field as a Custom LookUp field in Salesforce object
How to use a Formula Field as a Custom LookUp field in a Salesforce object In Salesforce we have 40 lookup field limit per object. Sometimes we need a field which behaves like a Lookup field. We can create a
Big Objects in Salesforce
Purpose of Big Objects and how to create Big Objects in Salesforce What is Big Object in Salesforce? As business grows data of customers/clients/users increases enormously which is hard to handle and query. In this case we need something big
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