ItemLink

Description

The ItemLink type holds information about an item link, which consists of an ItemIdentifier and the type of item link. The ItemLink type parameters are listed below.

Parameters

Name Type Description
id integer This is the internal TS_ID of the item link from the TS_ATTACHMENTS table.
itemID ItemIdentifier The ID of the linked item.
linkType ItemLink-Type Describes the type of item link. See ItemLink-Type for a list of possible values.
modificationDateTime dateTime The date and time when the item link was last modified. See Supported Date/Time Formats for more information.
accessType Attachment-Access-Type Shows the access type for the item link. The value is either DEFAULT, RESTRICTED, or UNRESTRICTED.
extendedData ExtendedData Placeholder for future arguments.

Usage

The ItemLink type allows you to specify an item link to another item. The itemID element used uniquely identify a linked item.

XML

The following XML snippet shows the ItemLink type in the <urn:itemLink> parameter of TTItem.

<urn:itemLink>
    <urn:id>52</urn:id>
    <urn:itemID>
        <urn:displayName>000220</urn:displayName>
        <urn:id>173</urn:id>
        <urn:uuid>0de24a1f-34a8-4f15-a72f-6ce923f0a212</urn:uuid>
        <urn:tableId>1000</urn:tableId>
        <urn:tableIdItemId>1000:173</urn:tableIdItemId>
        <urn:issueId>000220</urn:issueId>
    </urn:itemID>
    <urn:linkType>DEFAULT-ITEM-LINK</urn:linkType>
    <urn:modificationDateTime>2008-03-11T22:17:12-07:00
    </urn:modificationDateTime>
    <urn:accessType>ATTACHACCESS-DEFAULT</urn:accessType>
    <urn:extendedData>
        <urn:data>
            <urn:name></urn:name>
            <urn:value></urn:value>
        </urn:data>
    </urn:extendedData>
</urn:itemLink>