Salesforce winter’13 release
-
Upload
karanraj-sankaranarayanan -
Category
Documents
-
view
950 -
download
2
description
Transcript of Salesforce winter’13 release
Chennai Salesforce Platform Developer User Group
Salesforce Winter’13 Release
Karanraj SankaranarayananDeveloper, Tiara Consulting services@karanrajs
Agenda
• Visualforce Charting• GeoLocation Field• Load test data• Developer Console• SOQL Polymorphism
Visualforce charting
• Now its Generally available• Types of Visualforce Charting– Pie chart– Gauge chart – Bar chart– Line chart– Radar chart– Scatter chart
• Simple to implement• Customize your chart(change color,
appearances)
• Limits– Can’t use in render as PDF/excel page– Can’t use in visualforce email template– Display Error in the browser java script console
Demo
GeoLocation field
• Generally available – Beta release• Easy to calculate distances between two
Location using DISTANCES and GEOLOCATION formula funtion
Distances(Geoloc_field__c,GEOLOCATION(value),”km/mi”)
Limits
• Counts toward your organization’s limits as three custom fields
• Not available in reports, dashboards, validation rules, Visual Workflow, or workflow and approvals
• Cannot be searched
Demo
Load Test Data
• No need to write many lines in test method to populate test data
• Create test data in a csv file and upload it into static resource
• Use Test.LoadData method in the test method
Demo
SOQL Polymorphism(Pilot)
• It’s available as developer preview• Just single query instead of multiple query• Referenced object can be different type• Eg:– What field in Event object
Account
Opportunity
Name Phone Number Of Employees
Acme (212) 555-5555 680
Global Media (905) 555-1212 14668
Name Amount Close Date
Global Media – 400 Widgets 40000.0 2010-02-28
Acme – 1,200 Widgets 140000.0 2010-01-30
Acme – 600 Widgets 70000.0 2010-03-28
Acme – 200 Widgets 20000.0 2010-05-31
Event Record
SubjectName of Account or Opportunity referenced by What field
Acme Event Acme
Global Media Event Global Media
Global 400 Widget Event Global Media – 400 Widgets
Acme 600 Widget Event Acme – 600 Widgets
• Use “TYPEOF” in the SOQL query
SELECT Subject, TYPEOF What WHEN Account THEN Phone, NumberOfEmployees WHEN Opportunity THEN Amount, CloseDate ENDFROM Event
Event.SubjectAccount.Phone or Opportunity.Amount
Account.NumberOfEmployees or Opportunity.CloseDate
Acme Event (212) 555-5555 680
Global Media Event (905) 555-1212 14668
Global 400 Widget Event 40000.0 2010-02-28
Acme 600 Widget Event 70000.0 2010-03-28
Limits
• Not allowed in select clause of semi join• Can’t be used in Bulk API• Can’t use Count() /aggregate query
Developer Console
• Test Tool• Query editor• System log view
• Minor enhancement1. Command line window2. Keyboard Shortcut - CTRL+SHIFT+?
Demo
Other features• Force.com Canvas(pilot)• Environment hub(pilot)• Salesforce for outlook panel• Export Joined report• Chatter poll• Salesforce touch
Check the Winter’13 release notes to know more about the other features http://www.salesforce.com/customer-resources/releases/
Q&A