spring '13 release developer preview webinar
DESCRIPTION
Watch this webinar to discover new and updated Salesforce Platform features coming in the Spring '13 Release including: :: Tooling API - The Tooling API is now generally available and provides SOAP and REST interfaces that allow you to build custom development tools for Force.com applications. :: Connect in Apex - Connect in Apex is now available for Developer Preview in all Developer Edition organizations. Connect in Apex exposes Chatter API data as Apex objects. :: Force.com Canvas Updates - Force.com Canvas, which allows you to embed a 3rd party app within Salesforce that can recognize user context, has a few new updates including the ability to expose a Canvas app on a custom Visualforce page. :: Connected Apps - Connected Apps are now generally available for integration using Salesforce Identity and Data APIs.TRANSCRIPT
Spring‘13 Release Developer Preview
Pat Patterson Principal Developer Evangelist @metadaddy Samantha Ready Developer Evangelist @samantha_ready
Join the conversation: #forcewebinar
Join the conversation: #forcewebinar
Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Pat Patterson
Principal Developer Evangelist @metadaddy
Samantha Ready
Developer Evangelist @samantha_ready
Speakers
Join the conversation: #forcewebinar
Follow Developer Force for the latest news
@forcedotcom / #forcewebinar
Developer Force group
Developer Force – Force.com Community
+Developer Force – Force.com Community
Developer Force
Join the conversation: #forcewebinar
Your One Stop Shop for Spring ‘13
Demos
Webinar Replay
Release Notes
Documentation
Training
Highlights
Discussion
http://developer.force.com/releases Join the conversation using #forcewebinar
Join the conversation: #forcewebinar
Agenda
Force.com Canvas Updates Connected Apps
Connect in Apex
Tooling API
Other Platform Updates
Join the conversation: #forcewebinar
Force.com Canvas Updates
Join the conversation: #forcewebinar
Force.com Canvas Recap Your 3rd party application Any platform, in any language
Join the conversation: #forcewebinar
Force.com Canvas (Pilot)
§ You can now expose a Canvas App on a Visualforce page using <apex:canvasApp> component
• Override standard buttons and tabs
• Embed in detail pages
• Create dashboard components or custom help pages
• Customize, extend, or integrate sidebars in the Service Cloud console
§ Parameters attribute to pass controller values into your Canvas App
§ Configurable Canvas size
Join the conversation: #forcewebinar
Connected Apps General
Availability
Join the conversation: #forcewebinar
Connected Apps: General Availability
Connected App = API client § Web application (including Force.com Canvas)
§ Mobile application
§ API access authorized via OAuth 2.0
Join the conversation: #forcewebinar
Connected Apps: What’s New?
Evolution of Remote Access Apps § Configure OAuth scopes, mobile support (in Developer Edition org)
§ Publish to an install URL
§ Additional administrative control
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Demo
Join the conversation: #forcewebinar
Connect in Apex (developer preview)
Join the conversation: #forcewebinar
What the heck is “Connect in Apex”?
§ Connect in Apex exposes many Chatter API resources as objects in Apex.
§ Use Connect in Apex to build Chatter integrations and custom UI on Force.com without making HTTP callouts to the Chatter API.
Join the conversation: #forcewebinar
Let’s see some examples…
/chatter/subscriptions/subscriptionId HTTP method: DELETE
Chatter.deleteSubscription(String communityId, String subscriptionId )
Join the conversation: #forcewebinar
Let’s see some more examples…
/chatter/feed-items?q=query+string HTTP method: GET Where feedType can be any type of feed (such as Bookmarks, News, Records, etc)
ChatterFeeds.searchFeedItems( String communityId, String q ) ChatterFeeds.searchFeedItems( String communityId, String q, String pageParam, Integer pageSize )
Join the conversation: #forcewebinar
And another one…
/chatter/feeds/feedType/feed-items HTTP method: GET Where feedType can be any type of feed (such as Bookmarks, News, Records, etc)
ChatterFeeds.getFeedItemsFromFeed( String communityId, ConnectApi.FeedType feedType ) ChatterFeeds.getFeedItemsFromFeed( String communityId, ConnectApi.FeedType feedType, String pageParam, Integer pageSize, ConnectApi.FeedSortOrder sortParam )
Join the conversation: #forcewebinar
Last example
/chatter/feed-items/feedItemId/comments HTTP method: POST
ChatterFeeds.postComment( String communityId, String feedItemId, String text ) ChatterFeeds.postComment( String communityId, String feedItemId, ConnectApi.CommentInput comment, ConnectApi.BinaryInput feedItemFileUpload )
Join the conversation: #forcewebinar
Connect with Apex: New and Improved § New and improved methods (just a few)
• ChatterFeeds.searchFeedItemsInFeed • ChatterGroups.requestGroupMembership • ChatterUsers.updateChatterSettings • ChatterUsers.isModified • ChatterComment.likesMessage / FeedItem.likesMessage
§ New feed item templates to make feed items easier to render by defining their layout
§ http://bit.ly/dev-connectapi
Join the conversation: #forcewebinar
Tooling API General
Availability
Join the conversation: #forcewebinar
Tooling API: General Availability
Next generation API for building custom development tools § REST and SOAP
Manage working copies of code artifacts § Apex Class/Trigger, Visualforce Page/Component
Manage debug process § Trace flags, heap dump markers, Apex Code/SOQL overlays
Manage debug artifacts § Heap dumps, debug logs
Join the conversation: #forcewebinar
Tooling API vs Metadata API
Tooling API • Debug process • Debug artifacts
Metadata API • Custom objects • Settings
Deploy Code
Join the conversation: #forcewebinar
Tooling API: REST Resources
https://na1.salesforce.com/services/data/v27.0/tooling/...
List Tooling API Objects § .../sobjects
Tooling API Object Metadata § .../sobjects/SObjectName/
Tooling API Object Full Description § .../sobjects/SObjectName/describe/
Join the conversation: #forcewebinar
Tooling API: REST Resources
https://na1.salesforce.com/services/data/v27.0/tooling/...
Access Tooling API record § .../sobjects/SObjectName/id/
Query § .../query?q=SELECT+Id+FROM+ApexClassWrapper
Join the conversation: #forcewebinar
Tooling API: REST example Query
$ curl -H 'X-PrettyPrint: 1' \
-H 'Authorization: Bearer ACCESS_TOKEN’ \
https://na1.salesforce.com/services/data/v27.0/tooling/query?q=SELECT+Id+FROM+ApexLog
Join the conversation: #forcewebinar
Tooling API: REST example Query
{
"size" : 45,
"totalSize" : 45,
"done" : true,
"records" : [ {
"attributes" : {
"type" : "ApexLog",
"url" : "/services/data/v27.0/tooling/sobjects/ApexLog/07Lx00000005qwNEAQ"
},
"Id" : "07Lx00000005qwNEAQ"
}, ...
Join the conversation: #forcewebinar
Tooling API: REST example GET record
$ curl -H 'X-PrettyPrint: 1' \
-H 'Authorization: Bearer ACCESS_TOKEN’ \
https://na1.salesforce.com/services/data/v27.0/tooling/sobjects/ApexLog/07Lx00000009WEQEA2/
Join the conversation: #forcewebinar
Tooling API: REST example GET record
{
"attributes" : {
"type" : "ApexLog",
"url" : "/services/data/v27.0/tooling/sobjects/ApexLog/07Lx00000009WEQEA2"
},
"Id" : "07Lx00000009WEQEA2",
"LogUserId" : "005x0000000JwJRAA0",
"LogLength" : 74760,
"LastModifiedDate" : "2012-05-03T23:21:18.000+0000",
"Request" : "Application",
...
}
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Demo
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
https://force-tooling-demo.herokuapp.com/
https://github.com/metadaddy-sfdc/ force-tooling-demo
Join the conversation: #forcewebinar
Tooling API: Roadmap
More Resources § Log data, code coverage results etc
More Operations § Execute anonymous, run tests, etc
Force.com IDE § Port to Tooling API, release as open source
Note – Metadata API is not going anywhere! § Metadata API gives access to all sorts of metadata – e.g.
SecuritySettings – that are unrelated to developer tools
Join the conversation: #forcewebinar
Other Platform Updates
Join the conversation: #forcewebinar
Other Updates • Developer Console Updates
• New ‘Progress’ tab
• App Logic • The Id field is now writable on update
• Triggers for CollaborationGroup and CollaborationGroupMember
• API Updates • Bulk API – Compressed Responses
• Metadata API – Organization Settings Changes
• Streaming API – Tasks Supported and Increased Limits for UE and EE
Join the conversation: #forcewebinar
Critical Updates • Invalid URLs Blocked
• Blocks custom links/buttons from rendering invalid URLs
• Visualforce PDF Rendering Engine Improvements • Improved consistency on how pages render CSS files
• Improved engine for better compatibility
• Single Viewstate Enhancement • Decreases Visualforce page size
• Improves load time and rendering efficiency
Join the conversation: #forcewebinar
Spring ’13 Rollout • Sandbox pre-release, NA1: done! • Pre-release Trial: ongoing
• http://bit.ly/getspring13
• NA6, NA7, NA8, NA9, NA13: Feb 1-2
• All other orgs: Feb 8-9 • http://trust.salesforce.com/trust/maintenance/
Join the conversation: #forcewebinar
Upcoming Events February 1 (every Friday):
§ Force.com Friday – Weekly Intro Webinar Series http://bit.ly/forcefriday-cert
February 7: § Spring ‘13 Salesforce Platform Tweet Chat (9am Pacific) @forcedotcom via #Spring13QA
February 12: § Integration CodeTalk – Sandeep Bhanot & Sohail Sikora http://bit.ly/intct-13
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Survey Your feedback is crucial to the success of our webinar programs.
Thank you!
http://bit.ly/spring13webinar
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Q&A
Pat Patterson
Principal Developer Evangelist @metadaddy
Samantha Ready
Developer Evangelist @samantha_ready
Join the conversation: #forcewebinar Join the conversation: #forcewebinar
Survey Your feedback is crucial to the success of our webinar programs.
Thank you!
http://bit.ly/spring13webinar