Apex Code Winter08
Email 2 Apex
Email2Apex is an inbound email feature which makes emails available to be processed by Apex Code
Use Case
You would like to perform an additional action at the time a normal email arrives at a specified email address, you would like to create a case in Salesforce and specify the contents and attachments be added to the case.
Availability
Preview availability in Developer Edition.
New Types
Several new types have been added to the Apex Language. These types are new Blob: Binary chunks, used in attachments, documents and email, Long: A big number!, Enum: A set of things, and Decimal: Whole and partial numbers
Use Case
You would like to build a web-service that delivered a blob of binary data such as a PDF document. with the Blob data type you could send this type of binary data to a remote web service customer.
Availability
General availability in Unlimited Edition.
New Language Verbs
New verbs are available to better match the SOQL API, including SendEmail and Approval process()
Use Case
You would like to send an email and begin an approval process within the application when an apex code trigger fires in your system.
Availability
Preview availability in Developer Edition.
Packaging Apex Code
With this release we will begin an Initial pilot for packaging code, it will include
- Packaging Apex Code: Initial pilot
- IP Protection: Allow method signatures to be selective exposed while hiding their implementation
- Per-app (vs org) limits: Managed packages of Apex code execute in their own governor context
- Dependency management: Check on feature dependencies on Apex install; if code references feature not available in target org, install fails
Use Case
You would like to build, package and deliver over the AppExchange your on-demand application using Apex code you have developed, you also need to protect your code and ensure that it installs correctly in the customer system.
Availability
Limited availability in Developer Edition.
More Features to explore
- New Trigger-able operations: Mass Case (change, close) and Mass Lead (change) now fire triggers
- Run-As Sharing Execution: Allow execution context for sharing rules to be evaluated based on the running user rather than the master user
- System Test Execution: Tests on customer deployed code can be executed by salesforce.com for support and management purposes
- Enhanced Logging: Validation rules, workflow, and controller actions now logged