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. ...
随机推荐
- 「NOIP 2017」列队
题目大意:给定一个 $n times m$ 的方阵,初始时第 $i$ 行第 $j$ 列的人的编号为 $(i-1) times m + j$,$q$ 次给出 $x,y$,让第 $x$ 行 $y$ 列的人 ...
- 从未来看 C#
前言 如今 C# 虽然发展到了 8.0 版本,引入了诸多的函数式特性,但其实在 C# 未来的规划当中,还有很多足以大规模影响现有 C# 代码结构和组成的特性,本文中将会对就重要的特性进行介绍,并用代码 ...
- 将list集合按指定长度进行切分,返回新的List<List<??>>集合
Lists.partition public class testList { @Test public void test(){ List<Integer> numList = List ...
- 使用timeit测试Python函数的性能
timeit是Python标准库内置的小工具,可以快速测试小段代码的性能. 认识timeit timeit 函数: timeit.timeit(stmt, setup,timer, number) 参 ...
- 网页程序迁移至微信小程序web-view详解
小程序现在越来越流行,但是公司的很多项目都是用网页写的,小程序语法不兼容原生网页,使得旧有项目迁移至小程序代价很高: 小程序之前开放了webview功能,可以说是网页应用的一大福音了,但是微信的web ...
- 关于CSS设置页面背景图的一些疑问
关于背景图片的位置其background-position设置背景图片的位置有两种方式,一种是是根据像素设置,第二种根据百分比设置,第一种根据像素的位置是很简单的,只是关于百分比这个设置理解特别容易出 ...
- 数据挖掘入门系列教程(二)之分类问题OneR算法
数据挖掘入门系列教程(二)之分类问题OneR算法 数据挖掘入门系列博客:https://www.cnblogs.com/xiaohuiduan/category/1661541.html 项目地址:G ...
- angular root在css和less的写法
背景:angular7项目,angular cli创建了一个模板 新建了一个common.css 本身modle会有一个专属的less文件 写样式 父组件下的子组件样式修改 什么情况下用:root ...
- es6的解构函数
话说,解构无处不在啊,鄙人自从用了vue写项目以来,总是遇到各路大神莫名其妙的写法,然并未出任何错,查之,然解构也,呜呼哀哉,进而习之. 解构(Destructuring):是将一个数据结构分解为更小 ...
- 如何分析SpringBoot源码模块及结构?--SpringBoot源码(二)
注:该源码分析对应SpringBoot版本为2.1.0.RELEASE 1 前言 本篇接 如何搭建自己的SpringBoot源码调试环境?--SpringBoot源码(一). 前面搭建好了自己本地的S ...