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. ...
随机推荐
- 20190407-ORID
2019-04-07 Objective 关于今天的课程,你记得什么? 给代码建立分支的操作 完成了什么? 完成了rails101前6节 Relective 今天的高峰是什么? 成功完成rails10 ...
- Linux系统发行版本及其区别
1 Linux系统组成 Linux操作系统=Linux内核+GNU软件及系统软件+必要的应用程序.下表为Linux系统各组成部分的贡献人员: Linux内核 GNU组件(gcc.bash) 其他必要应 ...
- unittest实战(三):用例编写
# coding:utf-8import unittestfrom selenium import webdriverimport timefrom ddt import ddt, data, unp ...
- iMX287A多种方法实现流水灯效果
目录 1.流水灯在电子电路中的地位 2.硬件电路分析 3.先点个灯吧 4.shell脚本实现流水灯 5.ANSI C文件操作实现流水灯 6.Linux 系统调用实现流水灯 @ 1.流水灯在电子电路中的 ...
- AWS EC2+Docker+JMeter构建分布式负载测试基础架构
目录 概述及范围 前提条件 Part 1: Local setup-本地配置 Part 2: Cloud端基础架构--Infrastructure 总结: 原文链接 @ 概述及范围 本文介绍有关如何使 ...
- jsvascript篮球梦
首先让我们先欣赏一下效果图: html文本: <div class="box"> <img id="imgshow" src="la ...
- ZYNQ入门实例——定时器中断与程序固化
一.前言 APU系统中CPU以串行执行代码的方式完成操作,软件方式很难做到精准计时,因此调用内部定时器硬件完成计时是更好的选择.本文以定时器中断方式控制LED周期性闪烁为例学习私有定时器的使用.同时学 ...
- Tomcat 之startup.bat启动失败案例
今天我在部署一个Tomcat环境时,各种变量都配置完了,最后启动Tomcat时,Tomcat一闪而过,当时我的内心是崩溃的~~ 然后我就开始百度.定位问题.进入cmd命令行窗口,cd进入到Tomcat ...
- a++与++a的陷阱与盲区
故事发生在2019.7.15的3.pm,正在复习数据结构题目,写了一句如下指令(以下函数运行在win10的dev编译器下面) #include<bits/stdc++.h> using n ...
- Java Opencv 实现锐化
§ Laplacian() void cv::Laplacian ( InputArray src, O ...