Placing a visualforce page on sidebar is really simple. 1) Create a visualforce page. 2) Create a custom HTML homepage component. Place the following code in the HTML area. <iframe …
2012
-
-
This blog will review how Custom Links can be used in Salesforce.com to provide users quick access to the information necessary to the call and account planning processes. Custom Links …
-
Pagination using Visualforce and Apex Class Apex Class : public class accountPaginationCls { public Integer noOfRecordPerPage {get;set;} public Integer selectedPage {get;set;} public Map<Integer, List<Account >> mapAccounts{get;set;} public List<selectoption> pagesOptions {get;set;} …
-
Force.com is a platform where you can develop your own application. Salesforce.com is Sales(CRM) and Service applications which were developed and running on the Force.com Platform. Force.com is based on …
-
Upsert: Syntax: UpsertResult[] ur= connection.upsert(String externalIdFieldName, sObject[] sObjects); Upsert is creates new records and updates existing records; uses a custom field to determine the presence of existing records. Use upsert() …
-
The AJAX Toolkit allows you to issue synchronous or asynchronous calls. Asynchronous calls allow the client side process to continue, waiting for a call back from the server. To issue …
-
You can go to Setup > Create > Tabs and create a new VisualForce tab with the VF page that you want to use as the home page. Then go …
-
<apex:page sidebar=”false” showheader=”false”> <script> function changeFontColor(Id,textValue) { if(Id.checked) { document.getElementById(textValue).style.fontWeight = “bold”; document.getElementById(textValue).style.color= “green”; } else { document.getElementById(textValue).style.fontWeight = “Normal”; document.getElementById(textValue).style.color= “black”; } } </script> <apex:outputPanel layout=”block”> <label for=”checkbox”>Click this …
-
<apex:page > <script language=”javascript”> function getCheckBoxValue() { alert(document.getElementById(‘{!$Component.myForm.pb1.pbs1.checkbox1}’).checked); } </script> <apex:form id=”myForm”> <apex:pageblock id=”pb1″> <apex:pageblockSection id=”pbs1″> <apex:inputCheckbox id=”checkbox1″ label=”Check Me” onclick=”javascript:getCheckBoxValue();”></apex:inputCheckbox> </apex:pageblockSection> </apex:pageblock> </apex:form> </apex:page>
-
Cases > Page Layouts Edit Page layout, on the top most you can find a button called ‘Layout Properties’. clicking on that will give you the ability to show/hide the …