<Link> / Element reference
Link
The Link element in IDML: where it appears (Spreads), its 22 attributes, their values, and how real documents use them.
Definition
The link from a placed graphic to its file: the file's URI and format, and whether it is embedded.
- Lives in
Spreads47,MasterSpreads1 andStories1- Frequency
- In 47 of the 305 documents of the census (15.4%), 2026-10-12
- Attributes
- 22 observed, 10 of them vary between documents
- Discussed in
- Placed images, Images & graphics, Place an image in a frame, Swap text and images in a template and Glossary
Structure
Relationships
Link sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Seen in |
|---|---|---|---|
| LinkResourceURI# Names the file. | reference or text | any | 100% varies in 47 |
| AssetID# | builtin | any | 89.4% |
| AssetURL# | builtin | any | 89.4% |
| CanEmbed# Whether the linked file can be embedded in the document. | boolean | true42 | 89.4% |
| CanPackage# Whether the linked file is copied when the document is packaged. | boolean | true42 | 89.4% |
| CanUnembed# Whether an embedded file can be turned back into a link. | boolean | true42 | 89.4% |
| ExportPolicy# | keyword | NoAutoExport42 | 89.4% |
| ImportPolicy# | keyword | NoAutoImport42 | 89.4% |
| LinkClassID# | integer | any | 89.4% |
| LinkClientID# | integer | any | 89.4% |
| LinkImportTime# | text | any | 89.4% varies in 42 |
| LinkObjectModified# | boolean | any | 89.4% |
| LinkResourceFormat# Names the file type, in InDesign's own words: $ID/JPEG, $ID/Photoshop, $ID/Portable Network Graphics (PNG), $ID/Adobe Portable Document Format (PDF), $ID/WEBP (with a trailing space). | builtin or keyword | any | 89.4% varies in 17 |
| LinkResourceModified# | boolean | any | 89.4% varies in 2 |
| LinkResourceSize# | text | any | 89.4% varies in 38 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | id | any | 89.4% varies in 42 |
| ShowInUI# | boolean | true41false3 | 89.4% varies in 3 |
StoredState#Normal for a linked file and Embedded when the picture's bytes are inside the document. | keyword | any | 89.4% varies in 20 |
| LinkImportModificationTime# | text | any | 87.2% varies in 37 |
| LinkImportStamp# | text | any | 87.2% varies in 37 |
| RenditionData# | keyword | Actual38 | 80.9% |
| PDFIdentifier# | integer | any | 6.4% |
Link (census of 2026-10-12, 305 documents). Seen in is the share of the 47 documents with a Link that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Evidence
- Observed
- In 47 of 305 documents (15.4%):
Spreads47,MasterSpreads1 andStories1. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
Paged support
What Paged, one implementation of the format, does with Link. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged 6347aa9, read 2026-11-24; render from the capability record exported 2026-11-24.
- Parse
- Reads 1 of the 22 attributes
- Render
- No feature of the capability record names this element
- Edit
- 1 attribute map to a scriptable path for
paged.set - Write
- Writes 15 of the 22 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| LinkResourceURI | readsspread.rs:2167 | imageUri | writesimages.rs:689 |
| AssetID | not read | — | not written |
| AssetURL | not read | — | not written |
| CanEmbed | not read | — | writesimages.rs:708 |
| CanPackage | not read | — | writesimages.rs:710 |
| CanUnembed | not read | — | writesimages.rs:709 |
| ExportPolicy | not read | — | writesimages.rs:712 |
| ImportPolicy | not read | — | writesimages.rs:711 |
| LinkClassID | not read | — | writesimages.rs:703 |
| LinkClientID | not read | — | writesimages.rs:704 |
| LinkImportTime | not read | — | not written |
| LinkObjectModified | not read | — | writesimages.rs:706 |
| LinkResourceFormat | not read | — | writesimages.rs:691 |
| LinkResourceModified | not read | — | writesimages.rs:705 |
| LinkResourceSize | not read | — | writesimages.rs:713 |
| Self | not read | — | writesimages.rs:688 |
| ShowInUI | not read | — | writesimages.rs:707 |
| StoredState | not read | — | writesimages.rs:695 |
| LinkImportModificationTime | not read | — | not written |
| LinkImportStamp | not read | — | not written |
| RenditionData | not read | — | not written |
| PDFIdentifier | not read | — | not written |
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names Link.