YouTubeに「Spring'14 Release Developer Preview Webinar」の動画が公開されていたので見てみました。
Agenda
Webinarの内容はつぎのようになっていました。
- Salesforce1 App Enhancements
- Visualforce
- Analytices API
- Force.com Canvas
- Other Platform
Salesforce1 App Enhancements
詳細ページのレポートグラフサポート
以前、詳細ページにページレイアウトのカスタマイズからレポートグラフを埋め込めるようになりましたが、このグラフがSalesforce1でも表示されるようになったみたいです。
Visualforce
Remote Objects (pilot)
JavaScriptからsObjectsの基本的なDML操作を可能にするプロキシオブジェクトとのことらしいです。@RemoteActionの使用を減らして処理をシンプルにできるそうです。さらに"APIリクエストの制限にカウントされない"との説明がありました。
Analytices API
細かい実装方法はわかりませんでしたが、詳細ページに表示したグラフを動的に変更していたデモが印象に残りました。
Additional Apex Update
Apexで変更された箇所が紹介されていました。
動画時間の32:04の辺りです。
Apex BatchのStartメソッドでタイムアウトする時間が「3分」から「5分」に変更されました。
- Increased query timeout in batch start method
- Was 3 minutes
- Now 10 minutes
テストクラスでは自動採番項目はロールバックされませんが、ロールバックできるようにするオプションが追加されるみたいです。
- Independent auto-number sequence test option
- Test records aren't commited,DB is rolled back
- Enable this option before running an Apex class that creates data
Force.com Canvas Updates
Canvas Apps in the Publisher and Feed (generally available)
グローバルパブリッシャーアクションでキャンバスが使用できるようになったみたいです。
- Publiser: Expose your canvas apps as global Publisher Actions
- As a publisher action, a user can create a feed item of type text, link, or canvas
- Works in the Aloha app or Salesforce1
- You can now remove the publisher header and share button from Connected App
キャンバスとフィードの話なのですがちょっとよくわかりませんでした。
- Feed: Expose your canvas apps as feed items
- Feed item can display actions based off of current user
- Context is served from the canvas app i.e. developer has full control over behavior
- Exmple: Employee time sheet
- Hours worked metric data is sent to a manager for approval
- Hours worked metric data is sent to employee for view ing & notes
Events between a Canvas App and Visualforce Page
Visualforceページ内でForce.com Canvasを使用するときのイベントが追加された話だと思います。
- Publish and subscribe to events between your Canvas App and your Visualforce page
- publish - Publishes an event that the canvas app subscribes to
- resize - used by a VF page to that the canvas app iFrame
- subscribe - used by a VF page to subscribe to events that the canvas app might publish
- unsubscribe - used by a VF page to unsubscribe to parent events that the canvas app might publish
キャンバスのSDK使用時にデバッグモードを有効にできるみたいです。
- Enable debug mode when using the Canvas SDK for troubleshooting
- sfdc.canvas.console.enable();
Other Salesforce1 Platform Updates
SOQL/SOSL Updates
SOQL
SOQLで地理情報と住所情報にアクセスするのが簡単になりました。
- SELECT Support for compound standard address and geolocation fields
SELECT Location__c, BillingAddress FROM Account
SOQLのWHERE条件で距離で判定することができるようになったのと、ORDER BYで距離順でソートできるようになったみたいです。
- WHERE DISTANCE() and ORDER BY DISTANCE() support for compound standard address fields
SELECT Id, Name FROM Account WHERE DISTANCE(BillingAddress, GEOLOCAITION(37.775, -122.418), "mi") < 20 ORDER BY(BillingAddress, GEOLOCATION(37.775, -122.418), "mi") LIMIT 10
SOSL
SOSLでOFFSETを使用できるようになったみたいです。(今まではSOQLのみで使用できた)
- use OFFSET to specify the starting row offset into the result set returned by your query
New Objects
接続済みアプリケーションを管理するためのオブジェクトが追加されるみたいです。
- LimitAllocationPerApp(pilot) - Allocate quotas for individual Connected Apps
- Reserve API capacity for critical apps or set ceilings on non-critical apps
- Set Quotas per 24-hour period for:total API requests, Bulk API batches, Streaming API events, and generic streaming events
特定のユーザが所有するファイルを参照するためのオブジェクトが追加されるみたいです。
- Ownerd ContentDocument
- Query for files owned by specific users
新しく追加されるスキル機能に関するオブジェクトが追加されます。
- ProfileSkill[x] (10 new ProfileSkill objects)
- Describes users professional knowledge
- Users can have skills, endorse skills, and collaborate on skills
New Place Order REST API
REST APIで注文オブジェクトに関する操作が可能になるとのことです。
- REST API lets you integrate Salesforce order data into apps programmatically
- Order data is already connected to CRM out of the box: pre-integrated for accounts, opptys & quotes, products/price books, contracts, service cloud
- Resources for standard contracts, orders, and order products
よくわからないのですがそのまま翻訳すると→「オーダーキャプチャプロセスを簡素化し、バックオフィスとの統合を合理化」とのことです。
- Simplify the order capture process and streamline integrations with your back office
とりあえずはだいたいこんな感じでした。細かい内容は日本語版の新機能説明会でまた確認したいと思います。