慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
于SFMC中设计数据扩展:首立四决
SapotaCorp · 2026-05-24 · via DEV Community

凡新涉SFMC者,其始皆同。客以四十列之Excel表载客户数据,告曰:"此导入于SFMC。"团队乃作一数据延伸,以应Excel之列。两星期后,此延伸不能发邮件,不能与他延伸相系,且有一字段因数据类型之谬,不得导入。

其解,在于延伸未成之前,先定四决,非成之后也。

决断一:此DE为何用?

  • 可发送之DE:将用于发送邮件。于属性中勾选“可发送”。须有类型为电子邮件地址之字段,并具订阅者密钥之关联。
  • 查询之DE:存储AMPscript于发送时查询之参照数据(销售代表名单、产品目录、店铺位置)。不可发送,无需电子邮件地址。

创之先择。既成而后增"可寄"之性,虽可为之,然烦扰;于既有之DE含数据者,正"订阅者键"之关系,易生谬误。

决二者:主键何在?

主键者,独辨每条之列也。规:

  • 必遍历DE中诸记录而唯一。
  • 发送之物,当用系统之标识,如 CustomerID 或 MemberID。勿用 EmailAddress——一人可有多邮箱,且人恒易其址。
  • 查索之物,当用本然之标识,如 SalesRepID、ProductID。

决第三:何项可空?

  • 非空者,谓此项必具。若导入之列阙之,则弃此列。
  • 邮箱地址与主键,几近皆不可为空.
  • 人口统计之项(住址、电话、生辰),常可为空,盖因源数据非必完备.

载入满布空缺不可为空之项之文件,而惑于半数之行消逝,此乃初周之常谬.

决断四:数据之型是否当适?

數據類型用於文字名稱、混合數字符號ID、地址數字ID、點數餘額電子郵件必須用於電子郵件欄位—SFMC驗證日期格式生日、到期日(格式必須與導入時一致)布林標記如VIP、已購買十進位金錢數額、任何帶有分數部分的數值

經典導入失敗:OrderNumber值如ORD-00123導入至數字欄位。字母使其失效。用文字。

审计中犹见四谬

忘设可发送

DE于发送时,受众选择器不显。编辑属性,勾可发送,配置发送关联。创制时决断,可免此患.

以EmailAddress为首要键

客更其邮。导入行。旧行存旧邮。新行增新邮。一人今为二录。观者数谬.

用恒定之系ID。邮非其身,乃属也.

一DE内二邮址型字段。

SFMC不允許同一DE中存在兩個數據類型為EmailAddress的字段。若Email Address與Secondary Email均被設定為EmailAddress,則自此DE發送的郵件將完全失敗——無人能收到。

此二者中必有一者需被設定為純文本。

字段長度過短

设全名长度为五十字,初看似宜,然有长名者,或遭截断,或被拒之门外。其果有二:

  1. 数据之完整:默然失之。
  2. 导入之速:若字段长度得宜,SFMC可速之。

量字段之长,宜取其至实之极,非取其中数。

自既有者而创之之捷径

若需新设数据扩展,其结构类同既有者(如VIP客户群,取自客户主表之字段),当于内容构建器中择“依既有创建”。>数据扩展。此法全袭旧式:字段名、类型、长度、可空标志皆悉数移用。惟增删异同之字段而已。

依模板造者,乃SFMC之预设架构(如触发发送DE、追踪DE等),非汝自造之DE也。异工也。

便当

点击"创建"之前,须决四事:其用(可送/可查),主键,可空字段,数据类型。三十秒之思,可省日后重建之功。若承继半废之项目,其共病之源,必在此四者之误。


启SFMC之项目,若源数据纷乱乎?吾Salesforce之团队,于生产协作中,设计数据拓展(Data Extensions)与数据模型也。相接>

睹吾等之全貌平台之务吾所论之栈也。