# DocumentLinkCollection Object

> The DocumentLinkCollection contains a collection of document links.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > DocumentLinkCollection Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/#members)

---

## In This Section

- [Javascript: DocumentLinkCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/add-method/llms.txt): Adds a new document link to the collection.
- [Javascript: DocumentLinkCollection.clear Method](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/clear-method/llms.txt): Removes all document links from the collection.
- [Javascript: DocumentLinkCollection.getItem Method](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/getitem-method/llms.txt): Gets the document link at the current text input position or the document link with the specified id.
- [Javascript: DocumentLinkCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/remove-method/llms.txt): Removes the link from the collection.

---

## Nearby

- **Previous:** [DocumentLinkCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcallback/llms.txt)
- **Next:** [Javascript: DocumentLinkCollection.add Method](https://docs.textcontrol.com/ds-server/reference/javascript/documentlinkcollection/add-method/llms.txt)
