Kameshwar Singh's Blog World
Thursday, March 17, 2016
What is TAB in Salesforce.
Tab is a user interface component to user creates to display custom object data.
There are three type of tabs.
Custom Tabs
Visual force Tabs
Web Tabs
What is the use of “FOR UPDATE” in SOQL
FOR UPDATE is used to lock the records.
Ex: Campaign cam = [SELECT id FROM Campaign LIMIT 1 FOR UPDATE];
What is the use of “ALL ROWS” in SOQL
ALL ROWS is used for retrieving the records from recycle bin.
Ex: SELECT Id from Campaign ALL ROWS
-> “ALL ROWS” does not work in developer console.
How to call Apex class using java script
Apex Class:
global class ClassName{
webService static String methodName(String camName) {
Campaign cam = new Campaign(name = camName);
return cam.name;
}
}
Java Script:
var Campaign = sforce.sObject(“Campaign”);
var String = sforce.apex.exceute(“ClassName”,”methodName”,{name=”ABC”});
Difference between “Export” and “Export All” in Data Loader in Salesforce
Export : It is used to export the Salesforce Data(excluding recycle bin’s data) into your local system.
Export All : It is used to export the Salesforce Data(including recycle bin’s data) into your local system.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)