Salesforce_Faqs
Short Description
Download Salesforce_Faqs...
Description
c Y Y YYY Y
YYYY YY YY © Y YY Y Y Y YY
! "#$ % & '&
( ) * (* )* +,%& (+++++% -%-*
./ * $ 0) "+ / ' ) * ) -/ $ R YY Y YY YYYYR YY Y Y YY Y + * -1 Y YY Y Y Y Y YY YY YYYY* *Y YYYY YY YY YY Y YY YYYYYYYY !Y "# YY Y !Y YY YYYYYYYY Y Y$Y Y YYYYYYYYYYYY % & '( Y!Y)**Y YYYYYYYYYYYYYYYY "# Y YYYYYYYYYYYYY YYYYYYYYY
YY YYYYYYYY**
Y YYYYYYYY + , "# Y YY YYYYY Y ( -1 R YY + Y YY YYYY- Y YYYYR YYY , !Y .Y YY YYYYYYYY, !Y " YY Y, !Y YY YYYYYYYY* *Y YY YYYYYYYY*
*Y YYYYYYYY YY Y YY YYYYYYYY* !" *Y YYYYYYYY Y " Y YYYYY Y ,
*
Y YYYY Y Y © Y Y YYYY Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces a number of to ensure that runaway Apex does not monopolize shared resources. These, or governors, track and enforce the statistics outlined in the following table. If some Apex code ever exceeds a , the associated governor issues a runtime exception that cannot be handled. Governor apply to an entire organization, as well as to specific namespaces. For example, if you install a managed package created by a salesforce.com ISV Partner fromForce.com AppExchange, the components in the package belong to a namespace unique from other components in your organization. Consequently, any Apex code in that package can issue up to 20 DML statements while executing. In addition, any Apex code that is native to your organization can also issue up to 150 DML statements, meaning more than 150 DML statements might execute during a single request if code from the managed package and your native organization both execute. Conversely, if you install a package from AppExchange that is not created by a salesforce.com ISV Partner, the code from that package does not have its own separate governor count. Any resources it uses counts against the total for your organization. Cumulative resource messages and warning emails are also generated based on managed package namespaces as well. For more information on salesforce.com ISV Partner packages, see salesforce.com Partner Programs.
'
Y YY Y! Y
Y
""Y
Y YY Y Y#Y Y! Y
$"%"""Y
Y YYY! Y
Y
"Y
Y YY Y Y#YY YY! #Y
""Y
Y YY&'Y Y
Y
$"Y
'
Y YY Y
Y YY YY&'Y %Y/ %Y Y & 0 1Y
Y YY YY Y
)
YY ( Y
Y +YYY#YY YY #Y Y
Y YY %Y %Y , Y Y Y
.YY YY (Y
"%"""Y
""%"""Y
)
)Y'* Y
-Y
""Y
Y YY Y/ Y! YYY Y 0YYY! Y
"Y
' Y YYY Y/ Y! YYY Y 0YYY! Y
"Y Y
& Y YY Y/ Y! YYY Y 0YYY! Y
"Y Y
Y YY YYY YYYYY $ Y
"Y
' Y (YY Y! YY Y/ Y! YYY Y0-Y
)Y'*Y
Y YY ( Y YY
"Y
Y YY Y1Y
""Y
1
In a SOQL query with parent-child relationship sub-queries, each parent-child relationship counts as an additional query. These types of queries have a of three times the number for top-level queries. The row counts from these relationship queries contribute to the row counts of the overall script execution. 2 Calls to the following methods count against the number of DML statements issued in a request:
y
/
y
& 0 1
Õ
and &
Õ
Õ
and &
3
Õ
Õ
& 2
Õ
Õ
/ #
Õ
and &
Õ
and &
Batch Apex heap size is 6 MB. Email services heap size is 18 MB.
4
Recursive Apex that does not fire any triggers with , , or statements exists in a single invocation, with a single stack. Conversely, recursive Apex that fires a trigger spawns the trigger in a new Apex invocation, separate from the invocation of the code that caused it to fire. Because spawning a new invocation of Apex is a more expensive operation than a recursive call in a single invocation, there are tighter restrictions on the stack depth of these types of recursive calls.
5
Salesforce also imposes a on the number of annotations: 200 method calls per full Salesforce user license per 24 hours. This is an organization-wide . For example, suppose your organization has five full Salesforce user licenses and 100 Customer Portal User licenses. Your entire organization is to only 1,000 method calls every 24 hours (5 * 200, not 105.) The HTTP request and response sizes are calculated as part of the total heap size. So regardless of this , don't exceed the 3 MB total heap size. 7 Describes include the following methods and objects:
y
ChildRelationship objects
y
RecordTypeInfo objects
Õ
PicklistEntry objects
Õ
calls
apply individually to each + . Use the methods to determine the script execution for your code while it is running. For example, you can use the .+, method to determine the number of DML statements that have already been called by your program, or the ,.+, method to determine the total number of DML statements available to your code in that context. For more efficient SOQL queries, particularly for queries inside of triggers, use selective (indexed) queries. Ñelective queries filter on primary keys, foreign keys, names, audit dates (such as, + . ), or External ID fields. In large organizations, non-selective queries could be stopped at runtime in order to prevent very long running operation times. If you need them for your application, contact your salesforce.com representative.Note If you use a non-selective query in a trigger against an object that contains more than 100000 records an error is generated. You should include indexed fields in the 34(0(clause to avoid these exceptions. Static variable values are reset between API batches, but governor are not. Do not use static variables to track state information on API batches, because Salesforce may break up a batch into smaller chunks than the batch size you specify. In addition to the execution governor , Apex has the following :
y
Maximum number of characters for a class: 1 million
y
Maximum number of characters for a trigger: 1 million
Õ
Maximum amount of code used by all Apex scripts in an organization: 2 MBNote
This does not apply to certified managed packages installed from AppExchange, (that is, an app that has been marked AppExchange Certified). The code in those types of packages belong to a namespace unique from the code in your organization. For more information on AppExchange Certified packages, see theForce.comAppExchange online help.
This also does not apply to any code included in a class defined with the -" annotation.
Õ
If a SOQL query runs more than 120 seconds, the request can be canceled by Salesforce.
Õ
Each Apex request is to 10 minutes of execution.
Õ
A callout request to a given URL is to a maximum of 20 simultaneous requests.
Õ
The maximum number of records that an event report returns for a user who is not a system administrator is 20,000, for system administrators, 100,000.
Õ
Each organization is allowed 10 synchronous concurrent events, each not lasting longer than 5 seconds. If additional requests are made while 10 requests are running, it is denied.
Õ
A user can have up to five query cursors open at a time. For example, if five cursors are open and a client application still logged in as the same user attempts to open a new one, the oldest of the five cursors is released.
Cursor for different Force.com features are tracked separately. For example, you can have five Apex query cursors, five batch cursors, and five Visualforce cursors open at the same time.
Õ
In a single transaction, you can only reference 10 unique namespaces. For example, suppose you have an object that executes a class in a managed package when the object is updated. Then that class updates a second object, which in turn executes a different class in a different package. Even though the second package wasn't accessed directly by the first, because it occurs in the same transaction, it's included in the number of namespaces being accessed in a single transaction.
When defining email services, note the following:
y
An email service only processes messages it receives at one of its addresses.
y
Salesforce the total number of messages that all email services combined, including On-Demand Email-to-Case, can process daily. Messages that exceed this are bounced, discarded, or queued for processing the next day, depending on how you configure the failure response settings for each email service. Salesforce calculates the by multiplying the number of user licenses by 1,000. For example, if you have ten licenses, your organization can process up to 10,000 email messages a day.
Õ
Email service addresses that you create in your sandbox cannot be copied to your production organization.
Õ
For each email service, you can tell Salesforce to send error email messages to a specified address instead of the sender's email address.
Õ
Email services rejects email messages and notifies the sender if the email (combined body text, body HTML and attachments) exceeds approximately 10 MB (varies depending on language and character set
Y )YYYY 2 "Y Y For those that don¶t have time to weed through all 171 pages of the Spring µ10 Release Notes, I¶ve pulled out a few of my favorites for your viewing pleasure. I didn¶t hit all of the items in the release notes so make sure you pull up the the PDF and check out the goodies in detail.
Y YY Y By far the most detailed new feature at 45 pages! You can now set up entitlement management so that your support reps can verify if your customers are eligible for support, create and maintain service contracts, specify service levels on a per customer basis and enforcement of service levels with time-dependent, automated processes. There is a TON of stuff around Entitlement Management including service contracts and milestones so definitely take a closer look! YYY A quote is a record showing proposed prices for products and services created from an opportunity and its products. You can create a set of quotes to show different combinations of products, discounts, and quantities so customers can compare prices. Each opportunity can have multiple associated quotes, and any one of them can be synced with the opportunity. You can also create and email PDF quotes. YY Y Answers is the newest feature of the Community application that lets community members ask questions, post replies, and vote whether they like or dislike a reply. It looks somewhat similar to Ideas in such that you assign categories to communities and then enable Answers for the customer and partner portals. Y YY Y A ton on Knowledge enhancements including new API objects for articles, metadata components for data category groups, describe calls for data categories, SOQL and SOSL filter, field level security for articles, custom report types and access to articles in the partner portal. Y -ew GROUP BY Clause SELECT LeadSource, COUNT(Name) FROM Lead GROUP BY LeadSource -ew HAVI-G Clause SELECT Name, Count(Id) FROM Account GROUP BY Name HAVING Count(Id) > 1 Aggregate Functions (Finally!!!!) SOQL now supports AVG(), COUNT(), COUNT_DISTINCT(), MIN(), MAX(), and SUM() Date Functions A slew of new date functions for SOQL to make your life easier. Ñemi-Join and Anti-Join Ñupport For Reference Fields I ran into the issue all the time when writing queries. Now your subqueries can filter by ID (primary key) or reference (foreign key). c YYY The Apex scheduler is now generally available.Y
y y
Callouts Enhancements including increased size limit, output messages with multiple elements (hurrah!!), new baked-in DOM class for
y
a
y y
sObjects are now created as Objects and you can create generic sObject collections: Set foo = new Set();
parsing and generating XML content and enhanced two-way SSL authentication I¶m don¶t this this is what Taggert was talking about during his DF09 presentation, but there are a lot of new logging features to check out on line 121. Check it out! Should make life easier until what Taggert revealed in on the roadmap for debugging is GA.
Y
y
enhancedList component now uses Ext 3.0
y
Salesforce.com Stylesheets No Longer Called for PDFs
c Y Y Y!"Y
y y y y y
New SOSL Clause for Filtering By Data Categories New Support for API Version in Outbound Messages Numerous new Objects to support Entitlement Management, Answers and Quotes There are also some new and changed API calls Support for Sites objects (Site and SiteHistory)
c Y"#
The Force.com IDE Spring µ10 release is scheduled for February 15th. Not sure of the new features but from what I have heard in the past you should (safe harbor) be able to copy from from SOQL search results. Y#Y YY Y$#Y% You can now include multiple levels in master-detail relationships. For example, in addition to defining a two-object master-detail relationship, such as Account²Expense Report, you can extend the relationship to subdetail records, such as Account²Expense Report²Expense Line Item. You can then perform operations across the master²detail²subdetail relationship. There are some caveats so check out the details. YY! & YY' Use change sets to move configuration changes via a web interface. New enhancements include clone an existing change set, cross-version upload, delete change sets, and a six month expiration of change sets. (Y "Y) The new UI theme that was unveiled at DF09 is an org-wide update. The new UI supports IE 7 & 8, Firefox 3.0.x and Safari 3.2.x. Sorry Chrome! # Y
With custom dashboard tables you can create tables with up to four columns, with column totals for number and currency summary fields.
y y
With dashboard finder, you can quickly find a dashboard by typing its name in the search filter. All accessible dashboards matching that text
y
New visibility option for report and dashboard folders to deny access to a folder for portal users (³This folder is accessible by all users,
are dynamically displayed in the drop-down list. except for portal users´).
Y YY Y Encrypt sensitive date with certificates and key pairs whenever Salesforce.com communicates with a supported external website. Salesforce.com offers either CA-signed or self-signed certificates. )"Y*+Y) A new toolkit for developers and partners to build more robust CTI adapters for call center users. ,Y
y y y y y y y y y y
Translation Workbench Enhancements Translatable Visualforce Email Templates Increased Maximum Limit for Rules Lookup Filter Beta Enhancements Number of Remote Access Application Authorizations Increased Enable Sidebar Search Auto-Complete Setting Enable Single-Search-Result Shortcut Setting A number of Auto-Complete Enhancements Standard Action Overrides are Packageable ± Standard action overrides on buttons and links are now packageable for custom objects. Personalized Email Alerts ± You can now set the From Email Address in email alerts to the address of the default workflow user.
Limited Release, Beta and Developer Previews YcY' Y Yc YY#Y! Adobe® Flash® BuilderTM for Force.com is an Eclipse-based IDE for developing Force.com Stratus apps (Adobe Air apps that leverage Force.com logic and data). Stratus applications run seamlessly online or offline while taking full advantage of the security, scalability, and reliability of Force.com. (Y%Y' YY#Y! A new visual report builder for tabular reports (with limited functionality). (Y -Y! YY! An improved opportunity detail page with highlight panels, recommendations, and drag and drop side tabs. Available after Feb. 5, 2010. -Y#YYY% You can brand your login and navigation URLs for Salesforce to create something like: https://appirio.my.salesforce.com. It also is more secure as it uses HTTPS. ! Y Y Y! YYY% Automatically upgrade your managed packages with patches. A push upgrade is a method of automatically upgrading your customers to a newer version of your package. A package subscriber doesn¶t need to do anything to receive the push upgrade. If you are developing managed packages this is a must read. % Y)Y YY' A new rich tech field type that is production quality but with some known limitation. The max size is 32,000 characters including HTML tags and only .gif, .jpeg and .png images are supported.
Y ,YYY# Y YY. Y Y Y
Ë
567 !!
Y Ë
8$ 8$ Y 8$ Y 9 9Y 959! Y 8$ Y 989Y/ 989Y "95:89;! ; 8$ !
Ë ! Ë" # $ %
8Y & Ë 8$ Y 9 9Y 959Y 99! Y 8$ Y 989Y/ 989Y "95:89;!
; 8$ !
$YY YYYY3. YY3 Y Y -YY Y Y © A timer that sends an AJAX update request to the server according to a time interval that you specify. The update request can then result in a full or partial page update. You should avoid using this component with enhanced lists. Note that if an 8$ # ! is ever re-rendered as the result of another action, it resets itself. An 8$ # ! must be within the region it acts upon.
Y 1YYY# YY.4Y Y5 Y 6YY YYYYY YY7Y 8YY Y YYY9Y Y#YYY Y "YYYYY Y YY Y YY YYYY YYYY YYYYY YY YY )YYYY Y Y ,YYYY
Y $YYYY YY
Y p
! " #$%
© & # '
% ( ) * + , -./01+ ( 1+ 22 3 p4 -p4444 pp
p ( p $
$ ,
,
* * $, 5 © 65 77 (7 5 + , 8 © 6 $ 9*
!
+ * :
% + * + 7 , ;
+ 7
+ ? = ;
© 6
;
© +
*
* @, " 1A9; ' B © 6© 7 7 , , ) © 6( B $ C© C$
C$ 5 7 + * © 79 + p4
7 © 6 , = , , 7
, , pp
© D%$ © 6 ( 6 5 , 1+
View more...
Comments