| Attribute Data Type: | number |
| Attribute Default Value: | 0 |
| Atrribute Group: | General |
| Atrribute Purpose: | General data |
| Attribute Inherited from Preferences? | No |
| Attribute Read-Only? | Yes |
The internal ID of items can be seen, from v5.6.0, via the $ID attribute which is a read-only member of the General section of system attributes.
$ID is a unique ID (UID) values within a given TBX and is a large arbitrary whole number (i.e. they aren't sequential numbers).
$ID opens a number of possibilities for export, including making HTML anchors for linking to includes in exported pages.
Important, re aliases. IDs of aliases do not persist between sessions. In other words, if a note X has an $ID of "3219936174" today, it will have the same ID next week, but aliases of X might have different IDs. Aliases created by agents may change IDs at any time. However, aliases inside inactive agents do retain their ID value, unless/until the agent is re-activated.
