Download Salesforce.com Winter `13 Release Notes

Transcript
Developer Console Enhancements
•
API Enhancements
sendEmailMessage(): Use this call to immediately send up to 10 draft email messages. The ID() specified must
target EmailMessage objects whose Status is Draft.
Polymorphic Relationship Field Changes—Developer Preview
If your organization has the SOQL Polymorphism feature enabled, polymorphic relationship fields, which were previously
defined as Names, are now defined as sObjects in the Enterprise WSDL. As an example, you could now access the Owner
field on a Merchandise__c custom object directly as an SObject as shown in the following Java snippet:
...
Merchandise__c myMerch = (Merchandise__c)queryRecord;
SObject merchOwner = myMerch.getOwner();
// Cast and access merchOwner as a User or Group depending on owner type
...
Without the SOQL Polymorphism feature, you would need to access the Owner field as a Name:
...
Merchandise__c myMerch = (Merchandise__c)queryRecord;
Name merchOwner = myMerch.getOwner();
// Use Name information in merchOwner to determine owner type and Id
...
See SOQL Polymorphism—Developer Preview for more details about SOQL Polymorphism.
Chatter API Objects
New Objects
These objects are new in API version 26.0.
•
The HashtagDefinition object represents hashtag (#) topics in public Chatter posts and comments. Public posts and
comments include those on profiles and in public groups, but not those on records or in private groups.
Changed Objects
These objects have changed in API version 26.0.
•
•
The ChatterActivity object now includes an InfluenceRawRank field, which indicates the ParentId’s Chatter
influence rank. This number is calculated based on the ParentId’s ChatterActivity statistics, relative to the other users
in the organization.
The Type field for feed items now includes PollPost, which specifies a poll posted on a feed. The PollPost type
is available for the following objects: AccountFeed, AssetFeed, CampaignFeed, CaseFeed, CollaborationGroupFeed,
ContactFeed, ContractFeed, DashboardFeed, EntitlementFeed, EventFeed, FeedItem, LeadFeed, NewsFeed,
OpportunityFeed, Product2Feed, ReportFeed, ServiceContractFeed, SolutionFeed, TaskFeed, UserFeed, and
UserProfileFeed.
165