官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 阿坝县| 东海县| 正阳县| 沿河| 房山区| 乌拉特中旗| 理塘县| 濮阳市| 九江市| 抚宁县| 澄迈县| 英德市| 桂东县| 乌兰浩特市| 当涂县| 广平县| 大新县| 沂源县| 普兰店市| 布拖县| 肥乡县| 沈丘县| 玉田县| 柘城县| 岐山县| 鄯善县| 正阳县| 岳阳县| 镇沅| 云和县| 新密市| 巴中市| 内丘县| 和林格尔县| 广元市| 弥渡县| 右玉县| 罗源县| 电白县| 曲靖市| 枣庄市|