Building Applications with Force.com and VisualForce(Dev401)(十五):Data Management: Data management Overview
Dev401-016:Data Management: Data management Overview
Course Objectives
1.List typical data management operations.
2.Define upsert and external ID.
3.List typical use cases where upsert is useful.
4.List some tools available to perform data management operations.
5.Execute the Data Loader via its command line interface.
Module Objectives
1.List typical data management operations.
2.List 3 ways to obtain record IDs.
3.State typical use case for modifiable system field feature.
4.Locate resource explaining algorithm for converting 15-digit IDs to 18-digit form.
5.Explain tupical situation where the use of the 15-digit ID can cause problems.
Module Agenda
1.Essential Data Management Oprrations
2.Record IDs
3.Object Relationships
4.Modifiable System Fields
Universal Containers Scenario
1.Universal Containers(UC) has decided to standardize all of its recruiting activities onto the Recruiting app.
2.UC has recruiting data from a variety of sources - (i.e. paper forms, Excel spreadsheets,legacy HR system) that it would like to load into the Recruiting app.
3.UC needs to assemble and prepare the recruiting data it has for efficient migration into the Recruiting app.
4.UC needs to learn data management capabilities of the platform and how to use them.
Essential Data management Operations
1.Exporting Data
- Get reference IDs for insert/updates
- Download records for backup
2.Inserting Data
- Load users
- Load existing Positions
3.Updating Data
- De-duplicate existing data
- Introduce Records Types
4.Deleting Data
- Free up space used by too much legacy data
- Fix mistakes!
Record IDs
1.Unique identifier of a record.
1,Analogous to a primary or foreign key field in a database table.
3.Salesforce generates an ID value when a new record is created i.e. a00D0000005iTiz
Where to Get Salesforce IDs
1.IDs may be obtained 3 ways:
- URL
- Report
- Web Services API, e.g., the Data Loader
Format for Record IDs
1.Salesforce.com Object IDs come in 2 forms:
- 15-digit case-sensitive form
- 18-digit case-insensitive form
2.Reports and Object IDs
- Reports (and office Edition) return 15-digit IDs
- Report framework does not expose IDs for all objects
3.API and Object IDs
- API always returns 18-digit IDs
- API will accept either the 15-digit or 18-digit format
Object Relationships
1.Relationships exist between objects, for example:
- All Positions have an owner
- Candidates are related to Position through a job Application
- Reviews are associated to a Job Application
2.Relationships are expressed through:
- Related lists and lookups in the application
- IDs(foreign keys) in the database
Determine the Order to Load Data
1.Object relationships introduce data dependencies.
2.Dependencies dedicate the order of data load.
3.To load Review data, you must:
- Load Users
- Load Positions
- Load Candidates
- Load Job Applications
- Load Reviews
Optional Feature: Modifiable System Fields
1.What Does IT Do?
- Allows you to set Created Date, Created By, last Update Date, Last Update By
- Useful for migrating data from external systems and preserving history
- Generally, these fields are Read-Only
2.How Do You Get It?
- Contact salesforce.com
- Customer Support will enable
Modifiable System Fields
1.Only accessible through API.
2.Backwards compatible with all SOAP-based API's
3.Restricted to Account, Opportunity, Contact, lead, Case, Task, and Event Standard Objects.
4.Works for all Custom Objects
5.Read-only for existing records
Best Practice:enable only for initial data migration
Review
1.Name 3 ways you can obtain a record's ID?
URL,Report,Web Service
2.Why can it be dangerous to work with the 15-digit case sensitive form of the record ID?
??
3.True of False:The Created Date can be updated for a record via the API as long as the Modifiable System Fields feature is turned on.
False
Building Applications with Force.com and VisualForce(Dev401)(十五):Data Management: Data management Overview的更多相关文章
- Building Applications with Force.com and VisualForce(Dev401)(十八):Visualforce Pages: Introduction to Visualforce
Dev401-020:Visualforce Pages: Introduction to Visualforce Course Objectives1.Understand the benefits ...
- Building Applications with Force.com and VisualForce(Dev401)(十):Designing Applications for Multiple Users: Building Business Processes that You Want
Dev401-011: Building Business Processes that You Want Course Objectives1.Describe the capabilities o ...
- Building Applications with Force.com and VisualForce(Dev401)(十九):Visualforce Pages: Visualforce Componets (Tags)
Dev401-020:Visualforce Pages: Visualforce Componets (Tags) Module Agenda1.Tag Basics2.Tag Bindings T ...
- Building Applications with Force.com and VisualForce(Dev401)(十六):Data Management: Introduction to Upsert
Dev401-017:Data Management: Introduction to Upsert Module Objectives1.Define upsert.2.Define externa ...
- Building Applications with Force.com and VisualForce(Dev401)(十四):Implementing Business Processes:Auditing Processes
Dev401-015:Implementing Business Processes:Auditing Processes Module Objectives1.list some of the fe ...
- Building Applications with Force.com and VisualForce(Dev401)(十二):Implementing Business Processes:Automating Business Processes Part 1
ev401-013:Implementing Business Processes:Automating Business Processes Part 1 Module Objectives1.Li ...
- Building Applications with Force.com and VisualForce (DEV401)(五):Application Essential: Introducing Business Logic
Dev 401-005 Application Essential: Introducing Business Logic Module Agenda1.Custom object Queues2.W ...
- Building Applications with Force.com and VisualForce (DEV401) (二二):Visualforce Componets (Tags) Library Part II
Dev401-023:Visualforce Pages: Visualforce Componets (Tags) Library Part II Apex:pageBlockTable1.A ...
- Building Applications with Force.com and VisualForce (DEV401) (四):Building Your user Interface
Dev 401-004:Application essential:Building Your user Interface: Module Agenda1.Custom Applications2. ...
随机推荐
- 关于RN的热更新
写点关于RN的热更新和RN版本升级后的强制更新.以及优化白屏问题 在APPDelegate中加载RN,一般的加载方式是:RCTRootView *rootView= [[RCTRootView all ...
- 前端如何真正晋级成全栈:腾讯 Serverless 前端落地与实践
Serverless 是当下炙手可热的技术,被认为是云计算发展的未来方向,拥有免运维.降低开发成本.按需自动扩展等诸多优点.尤其是在前端研发领域,使用 Node 开发云函数,可以让前端工程师更加专注于 ...
- JavaScript常见的六种继承方式
前言 面向对象编程很重要的一个方面,就是对象的继承.A 对象通过继承 B 对象,就能直接拥有 B 对象的所有属性和方法.这对于代码的复用是非常有用的. 大部分面向对象的编程语言,都是通过"类 ...
- FCC 成都社区·前端周刊 第 7 期
01. ES2016, 2017, 2018 中的新特性 文章介绍了 18 个 ECMAScript 2016,2017 和 2018 中新增加的特性,这些特性已被加入到 TC39 提案中.包括Arr ...
- Nginx + uWSGI部署中的一些小坑
1.invalid host in upstream报错 重新启动nginx : sudo /etc/init.d/nginx restart 原因是在配置负载均衡nginx.conf配置文件时,发现 ...
- DirectX11--深入理解Effects11、使用着色器反射机制(Shader Reflection)实现一个复杂Effects框架
前言 如果之前你是跟随本教程系列学习的话,应该能够初步了解Effects11(现FX11)的实现机制,并且可以编写一个简易的特效管理框架,但是随着特效种类的增多,要管理的着色器.资源等也随之变多.如果 ...
- 基于springboot多模块项目使用maven命令打成war包放到服务器上运行的问题
首先,大家看到这个问题,可能并不陌生,而且脑子里第一映像就是使用mava中的clear package 或者 clear install进行打包,然后在项目中的target文件夹下面找到xxx.war ...
- drf呼啦圈
呼啦圈 1.1 表结构设计 不会经常变化的值放在内存:choices形式,避免跨表性能低. 分表:如果表中列太多/大量内容可以选择水平分表 表自关联 from django.db import mod ...
- 上海月薪 1w 和家乡月薪 5000 你选择哪?
如题,这是我在知乎上看到的一个热门话题--要现在的我来回答的话,毫无疑问会选择上海,即便月薪只有 5000 也去,还要趁早去. 有读者可能会质问我:"你之前不是说在三线城市洛阳工作很爽吗?怎 ...
- [置顶] Django-rest framework框架
出师表 先帝创业未半而中道崩殂,今天下三分,益州疲弊此诚危急存亡之秋也.然侍卫之臣不懈于内忠志之士忘身于外者盖追先帝之殊遇,欲报之于陛下也.诚宜开张圣听,以光先帝遗德,恢弘志士之气,不宜妄自菲薄,引喻 ...