---
schema_version: "1"
id: ef2b46c2185bad719e45e3d22c163f9ba628094f9216c979afe55470bee53f59
title: Seed Attachment, Document, and ContentDocument Objects
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/seeding_o_seed_file_objects.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.seeding_o_seed_file_objects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bb4119dae2af44c7d16fb85b765d661af80c118e9addd5d67a53f27b3d81623c
description: Seed dummy content in Salesforce to prevent users from seeing actual data and comply with PII protection requirements. When using Nodes templates to seed the ContentDocument object, you can choose to seed dummy content or real content. The Attachment, Document, and ContentDocument objects represent uploaded files.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Seed Attachment, Document, and ContentDocument Objects

Seed dummy content in Salesforce to prevent users from seeing actual data and comply with PII protection requirements. When using Nodes templates to seed the ContentDocument object, you can choose to seed dummy content or real content. The Attachment, Document, and ContentDocument objects represent uploaded files.

## Seed a Document Object

1. Click + Add root.
2. Filter or scroll to select the Document object.
    
    The objects Attachment, ContentDocument, ContentDocumentLink, and ContentVersion are excluded from the roots’ list of objects (as they have a mandatory parent that must be selected).

## Seed an Attachment Object

1. Add or select the parent object.
2. Click + Add child.
3. Filter or scroll to select the Attachment object.

## Seed a ContentDocument Object

1. Add the parent object.
2. Add the ContentDocumentLink object.
    
    Doing this automatically adds ContentDocument as a mandatory parent and ContentVersion object containing the latest file version as ContentDocument child.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-own_from_salesforce-264-0-0-production-enus/8ac98673-ede2-4046-a41e-2d5c846f24ff/images/icon_note.png)
    
    Note When the ContentDocument Handling option Seed the real content is enabled for a Nodes template, the maximum number of real content records to be seeded as attachments, per seeding job, is 50K (ContentVersion) records. If the 50K maximum is exceeded, the seeding job is canceled and the generated Seeding Report records this cancellation.