# Javascript: LoadDocumentCallbackData.documentPartName Property

> SpreadsheetML only. The name of the part of the loaded document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Path:** DS Server > Reference > JavaScript API > Javascript: LoadDocumentCallbackData.documentPartName Property
- **179 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentpartname-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentpartname-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentpartname-property/llms-full.txt

---

### Description

SpreadsheetML only. The name of the part of the loaded document.

### Syntax

```javascript
<string> LoadDocumentCallbackData.documentPartName
```

### Examples

The following example demonstrates `LoadDocumentCallbackData.documentPartName` in a practical document-editing workflow. SpreadsheetML only. The name of the part of the loaded document.

```javascript
function inspectDocumentPartName(loadDocumentCallbackData) {
    const documentPartName = loadDocumentCallbackData.documentPartName;
    console.log("document part name:", documentPartName);
}
```

---

## Nearby

- **Previous:** [Javascript: LoadDocumentCallbackData.documentKeywords Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentkeywords-property/llms-full.txt)
- **Next:** [Javascript: LoadDocumentCallbackData.documentSubject Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentsubject-property/llms-full.txt)
