Skip to content

AddLink

Adds a link to the specified case, marking it as related.

1
myCase.AddLink(caseOrId: ( string | [Case](./index.md) )):Case

Adds a link to the specified case with the specified type.

1
myCase.AddLink(caseOrId: ( string | [Case](./index.md) ), linkType: ( `"Related"` | `"Child"` | `"Duplicate"` )):Case

Parameters

( string | Case ) caseOrId
    The ID or instance of the case to link.

( "Related" | "Child" | "Duplicate" ) linkType
    The relation type: "Related", "Child", or "Duplicate".

Returns

The current Case instance. The current Case instance.

See Also