- Force.com Enterprise Architecture(Second Edition)
- Andrew Fawcett
- 266字
- 2021-07-09 18:31:07
Reusing the existing Standard Objects
When designing your object model, a good knowledge of the existing Standard Objects and their features is the key to knowing when and when not to reference them. Keep in mind the following points when considering the use of Standard Objects:
- From a data storage perspective: Ignoring Standard Objects creates a potential data duplication and integration effort for your end users if they are already using similar Standard Objects as pre-existing Salesforce customers. Remember that adding additional custom fields to the Standard Objects via your package will not increase the data storage consumption for those objects.
- From a license cost perspective: Conversely, referencing some Standard Objects might cause additional license costs for your users, since not all are available to the users without additional licenses from Salesforce. Make sure that you understand the differences between Salesforce (CRM) and Salesforce Platform licenses with respect to the Standard Objects available. Currently, the Salesforce Platform license provides Accounts and Contacts; however, to use Opportunity or Product objects, a Salesforce (CRM) license is needed by the user. Refer to the Salesforce documentation for the latest details on these.
Use your user personas to define what Standard Objects your users use and reference them via lookups, Apex code, and Visualforce accordingly. You may wish to use extension packages and/or dynamic Apex and SOQL to make these kind of references optional. Since Developer Edition orgs have all these licenses and objects available (although in a limited quantity), make sure you review your package dependencies before clicking on the Upload button each time to check for unintentional references.
推薦閱讀
- Dreamweaver 8中文版商業(yè)案例精粹
- Getting Started with MariaDB
- PHP開發(fā)手冊(cè)
- 智能工業(yè)報(bào)警系統(tǒng)
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)
- 水下無線傳感器網(wǎng)絡(luò)的通信與決策技術(shù)
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- 走近大數(shù)據(jù)
- Bayesian Analysis with Python
- HBase Essentials
- 數(shù)字多媒體技術(shù)基礎(chǔ)
- MPC5554/5553微處理器揭秘
- 穿越計(jì)算機(jī)的迷霧
- Visual Basic項(xiàng)目開發(fā)案例精粹
- 大型機(jī)系統(tǒng)應(yīng)用基礎(chǔ)