---
schema_version: "1"
id: 5dbe13f4c2c044ed66bc629d0e728dfa1fe6ce373f0055c20efe88fffcde824f
title: AttachedContentNote
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_attachedcontentnote.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_attachedcontentnote.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 68190b61140a19432acbe06e83e753e5ca71f7d631569c38a5390cc4b0fe7f65
description: This read-only object contains all ContentNote objects associated with an object.This object is available in API version 35.0 and later.
---
# AttachedContentNote

This read-only object contains all ContentNote objects associated with an object.This object is available in API version 35.0 and later.

## Supported Calls

describeSObjects()

## Special Access Rules

- Notes must be enabled.
- Chatter must be enabled.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Beginning in Summer ’26, Chatter is default turned off in all new orgs. For any features in these orgs that require access to Chatter functionality or the Chatter APIs, turn on Chatter by going to **Setup** | **Chatter Settings** and selecting **Enable**. For details, see [Chatter Is Turned Off by Default in New Orgs Beginning in Summer ’26](https://help.salesforce.com/s/articleView?id=experience.collab_chatter_default_off.htm&type=5&language=en_US).

## Fields

| Field Name | Details |
| --- | --- |
| ContentDocumentId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

ID of the attached ContentNote





 |
| ContentSize | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Size of the note in bytes for notes smaller than 2 GB.

In API version 66.0 and later, we recommend that you use the ContentSizeLong field even for notes smaller than 2 GB.





 |
| ContentSizeLong | 

Type

long

Properties

Filter, Group, Nillable, Sort

Description

The size of the note in bytes up to 10 GB.

This field is available in API version 66.0 and later.





 |
| FileExtension | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

File extension of the attached ContentNote.





 |
| FileType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Type of file for the note. All notes have a file type of SNOTE.





 |
| LinkedEntityId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the record the ContentNote is attached to.





 |
| TextPreview | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

A preview of the note, up to 255 characters.





 |
| Title | 

Type

string

Properties

Filter, Group, Sort

Description

Title of the note.





 |

## Usage

Use this object to list all ContentNote objects attached to an object.

To retrieve ContentNote objects, issue a describe call on an object, which returns a describe result for each note created or attached. You can’t directly query this object.