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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. 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 ...

  4. 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 ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. 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. ...

随机推荐

  1. log4p踩坑总结

    log4p可以方便的打印格式化日志,在实际应用时,因没有好好理解官网中的配置文件,导致出错了几次. 现总结如下: 1. 安装 pip3 install log4p 2. 查看配置说明,请参考https ...

  2. windows下用Python把pdf文件转化为图片

    依赖:PyMuPDF(pip install pymupdf) # -*- coding: utf-8 -*- """ 1.安装库 pip install pymupdf ...

  3. sql01

    1.简介 2.外键 1)主键: 3.表间关联与外键 上面的两个表格通过厂家编号联系在一起,彼此相对独立.厂家编号就称为外键.厂家编号是厂家表的主键. 4.SQL 1)数据库登录 服务器名称选择:①机器 ...

  4. 使用HBuilder开发移动APP

    前言 HBuilder是DCloud(数字天堂)推出的一款支持HTML5的Web开发IDE.HBuilder的编写用到了Java.C.Web和Ruby.HBuilder本身主体是由Java编写,它基于 ...

  5. java线程间的共享

    本次内容主要讲synchronized.volatile和ThreadLocal. 1.synchronized内置锁 线程开始运行,拥有自己的栈空间,就如同一个脚本一样,按照既定的代码一步一步地执行 ...

  6. angular root在css和less的写法

    背景:angular7项目,angular cli创建了一个模板 新建了一个common.css 本身modle会有一个专属的less文件 写样式 父组件下的子组件样式修改 什么情况下用:root  ...

  7. 跨域解决方案之CORS

    什么情况表示遇到跨域请求 一般在前后端分离项目中,前端请求接口,浏览器控制台报如下错误 类似 No 'Access-Control-Allow-Origin' header 报错 为什么会有跨域请求 ...

  8. 分布式图数据库 Nebula Graph 的 Index 实践

    导读 索引是数据库系统中不可或缺的一个功能,数据库索引好比是书的目录,能加快数据库的查询速度,其实质是数据库管理系统中一个排序的数据结构.不同的数据库系统有不同的排序结构,目前常见的索引实现类型如 B ...

  9. HashMap 速描

    HashMap 速描 之前简单的整理了Java集合的相关知识,发现HashMap并不是三言两语能够讲明白的,所以专门整理一下HashMap的相关知识. HashMap 存储结构 HashMap是一个哈 ...

  10. 「从零单排HBase 05」核心特性region split

    HBase拥有出色的扩展性,其中最依赖的就是region的自动split机制. 1.split触发时机与策略 前面我们已经知道了,数据写入过程中,需要先写memstore,然后memstore满了以后 ...